certificates.yml 602 B

1234567891011121314
  1. ---
  2. - name: Create OpenShift certificates for master hosts
  3. hosts: oo_masters_to_config
  4. vars:
  5. openshift_ca_host: "{{ groups.oo_first_master.0 }}"
  6. roles:
  7. - role: openshift_master_facts
  8. - role: openshift_named_certificates
  9. - role: openshift_ca
  10. - role: openshift_master_certificates
  11. openshift_master_etcd_hosts: "{{ hostvars
  12. | lib_utils_oo_select_keys(groups['oo_etcd_to_config'] | default([]))
  13. | lib_utils_oo_collect('openshift.common.hostname')
  14. | default(none, true) }}"