main.yaml 753 B

123456789101112131415161718192021
  1. ---
  2. etcd_initial_cluster_state: new
  3. etcd_initial_cluster_token: etcd-cluster-1
  4. etcd_initial_advertise_peer_urls: "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}"
  5. etcd_listen_peer_urls: "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}"
  6. etcd_advertise_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}"
  7. etcd_listen_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}"
  8. etcd_client_port: 2379
  9. etcd_peer_port: 2380
  10. etcd_systemd_dir: "/etc/systemd/system/{{ etcd_service }}.service.d"
  11. r_etcd_os_firewall_deny: []
  12. r_etcd_os_firewall_allow:
  13. - service: etcd
  14. port: "{{etcd_client_port}}/tcp"
  15. cond: true
  16. - service: etcd peering
  17. port: "{{ etcd_peer_port }}/tcp"
  18. cond: true