server_certificates.yml 482 B

1234567891011121314
  1. ---
  2. - name: Create etcd server certificates for etcd hosts
  3. hosts: oo_etcd_to_config
  4. any_errors_fatal: true
  5. roles:
  6. - role: openshift_etcd_facts
  7. post_tasks:
  8. - import_role:
  9. name: etcd
  10. tasks_from: server_certificates.yml
  11. vars:
  12. etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
  13. etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
  14. etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"