etcd_certificates.yml 523 B

12345678910111213141516171819
  1. ---
  2. - name: Generate openshift etcd certs
  3. become: yes
  4. include_role:
  5. name: etcd
  6. tasks_from: client_certificates.yml
  7. vars:
  8. etcd_cert_prefix: nuageEtcd-
  9. etcd_cert_config_dir: "{{ cert_output_dir }}"
  10. etcd_cert_subdir: "openshift-nuage-{{ openshift.common.hostname }}"
  11. - name: Error if etcd certs are not copied
  12. stat:
  13. path: "{{ item }}"
  14. with_items:
  15. - "{{ cert_output_dir }}/nuageEtcd-ca.crt"
  16. - "{{ cert_output_dir }}/nuageEtcd-client.crt"
  17. - "{{ cert_output_dir }}/nuageEtcd-client.key"