master_etcd_certificates.yml 581 B

12345678910111213
  1. ---
  2. - name: Create etcd client certificates for master hosts
  3. hosts: oo_masters_to_config
  4. any_errors_fatal: true
  5. roles:
  6. - role: openshift_etcd_facts
  7. - role: openshift_etcd_client_certificates
  8. etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
  9. etcd_cert_subdir: "openshift-master-{{ openshift.common.hostname }}"
  10. etcd_cert_config_dir: "{{ openshift.common.config_base }}/master"
  11. etcd_cert_prefix: "master.etcd-"
  12. openshift_ca_host: "{{ groups.oo_first_master.0 }}"
  13. when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config