master_etcd_certificates.yml 472 B

12345678910111213
  1. ---
  2. - name: Create etcd client certificates for master hosts
  3. hosts: oo_masters_to_config
  4. any_errors_fatal: true
  5. tasks:
  6. - import_role:
  7. name: etcd
  8. tasks_from: client_certificates.yml
  9. vars:
  10. etcd_cert_subdir: "openshift-master-{{ openshift.common.hostname }}"
  11. etcd_cert_config_dir: "{{ openshift.common.config_base }}/master"
  12. etcd_cert_prefix: "master.etcd-"
  13. when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config