ca.yml 439 B

123456789101112131415
  1. ---
  2. - name: Generate new etcd CA
  3. hosts: oo_first_etcd
  4. roles:
  5. - role: openshift_etcd_facts
  6. tasks:
  7. - include_role:
  8. name: etcd
  9. tasks_from: ca
  10. vars:
  11. etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
  12. etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
  13. etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"
  14. when:
  15. - etcd_ca_setup | default(True) | bool