diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-09-29 11:13:37 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-09-29 11:13:37 -0400 |
commit | b1c6bd781f833efe3532fe574b41b57bce9a72bc (patch) | |
tree | 8fa77424a08475fffb0e6eeaef9457fcf419d8d5 /roles/openshift_named_certificates | |
parent | be3a68ae520d518daef2e35553c28cd150d3c344 (diff) | |
download | openshift-b1c6bd781f833efe3532fe574b41b57bce9a72bc.tar.gz openshift-b1c6bd781f833efe3532fe574b41b57bce9a72bc.tar.bz2 openshift-b1c6bd781f833efe3532fe574b41b57bce9a72bc.tar.xz openshift-b1c6bd781f833efe3532fe574b41b57bce9a72bc.zip |
Set named certificate destinations as basenames of provided paths.
Diffstat (limited to 'roles/openshift_named_certificates')
-rw-r--r-- | roles/openshift_named_certificates/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_named_certificates/tasks/main.yml b/roles/openshift_named_certificates/tasks/main.yml index 7f20cf401..1bcf9ef67 100644 --- a/roles/openshift_named_certificates/tasks/main.yml +++ b/roles/openshift_named_certificates/tasks/main.yml @@ -28,19 +28,19 @@ - name: Land named certificates copy: src: "{{ item.certfile }}" - dest: "{{ named_certs_dir }}" + dest: "{{ named_certs_dir }}/{{ item.certfile | basename }}" with_items: "{{ named_certificates }}" - name: Land named certificate keys copy: src: "{{ item.keyfile }}" - dest: "{{ named_certs_dir }}" + dest: "{{ named_certs_dir }}/{{ item.keyfile | basename }}" mode: 0600 with_items: "{{ named_certificates }}" - name: Land named CA certificates copy: src: "{{ item }}" - dest: "{{ named_certs_dir }}" + dest: "{{ named_certs_dir }}/{{ item | basename }}" mode: 0600 with_items: "{{ named_certificates | oo_collect('cafile') }}" |