12345678910111213141516171819202122 |
- ---
- - name: Generate openshift etcd certs
- become: yes
- include_role:
- name: etcd
- tasks_from: client_certificates.yml
- vars:
- etcd_cert_prefix: nuageEtcd-
- etcd_cert_config_dir: "{{ cert_output_dir }}"
- etcd_cert_subdir: "openshift-nuage-{{ openshift.common.hostname }}"
- - name: Error if etcd certs are not copied
- stat:
- path: "{{ item }}"
- get_checksum: false
- get_attributes: false
- get_mime: false
- with_items:
- - "{{ cert_output_dir }}/nuageEtcd-ca.crt"
- - "{{ cert_output_dir }}/nuageEtcd-client.crt"
- - "{{ cert_output_dir }}/nuageEtcd-client.key"
|