ca.yml 413 B

123456789101112131415
  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. - import_role:
  9. name: etcd
  10. tasks_from: ca.yml
  11. vars:
  12. etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
  13. etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"
  14. when:
  15. - etcd_ca_setup | default(True) | bool