main.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. # etcd server vars
  3. etcd_conf_dir: /etc/etcd
  4. etcd_ca_file: "{{ etcd_conf_dir }}/ca.crt"
  5. etcd_cert_file: "{{ etcd_conf_dir }}/server.crt"
  6. etcd_key_file: "{{ etcd_conf_dir }}/server.key"
  7. etcd_peer_ca_file: "{{ etcd_conf_dir }}/ca.crt"
  8. etcd_peer_cert_file: "{{ etcd_conf_dir }}/peer.crt"
  9. etcd_peer_key_file: "{{ etcd_conf_dir }}/peer.key"
  10. # etcd ca vars
  11. etcd_ca_dir: "{{ etcd_conf_dir}}/ca"
  12. etcd_generated_certs_dir: "{{ etcd_conf_dir }}/generated_certs"
  13. etcd_ca_cert: "{{ etcd_ca_dir }}/ca.crt"
  14. etcd_ca_key: "{{ etcd_ca_dir }}/ca.key"
  15. etcd_openssl_conf: "{{ etcd_ca_dir }}/openssl.cnf"
  16. etcd_ca_name: etcd_ca
  17. etcd_req_ext: etcd_v3_req
  18. etcd_ca_exts_peer: etcd_v3_ca_peer
  19. etcd_ca_exts_server: etcd_v3_ca_server
  20. etcd_ca_exts_self: etcd_v3_ca_self
  21. etcd_ca_exts_client: etcd_v3_ca_client
  22. etcd_ca_crl_dir: "{{ etcd_ca_dir }}/crl"
  23. etcd_ca_new_certs_dir: "{{ etcd_ca_dir }}/certs"
  24. etcd_ca_db: "{{ etcd_ca_dir }}/index.txt"
  25. etcd_ca_serial: "{{ etcd_ca_dir }}/serial"
  26. etcd_ca_crl_number: "{{ etcd_ca_dir }}/crlnumber"
  27. etcd_ca_default_days: 365
  28. # etcd server & certificate vars
  29. etcd_hostname: "{{ inventory_hostname }}"
  30. etcd_ip: "{{ ansible_default_ipv4.address }}"
  31. etcd_is_atomic: False
  32. etcd_is_containerized: False