main.yaml 660 B

12345678910111213141516
  1. ---
  2. etcd_service: "{{ 'etcd' if not etcd_is_containerized | bool else 'etcd_container' }}"
  3. etcd_client_port: 2379
  4. etcd_peer_port: 2380
  5. etcd_url_scheme: http
  6. etcd_peer_url_scheme: http
  7. etcd_initial_cluster_state: new
  8. etcd_initial_cluster_token: etcd-cluster-1
  9. etcd_initial_advertise_peer_urls: "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}"
  10. etcd_listen_peer_urls: "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}"
  11. etcd_advertise_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}"
  12. etcd_listen_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}"
  13. etcd_data_dir: /var/lib/etcd/