ca.yml 465 B

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