main.yml 1.4 KB

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