From ef968fe45e4e91a114277552188ead9c94f2b5ac Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 23 Oct 2014 15:24:02 +0200 Subject: [PATCH] Remove redundancy by putting path in src --- roles/anitya/frontend/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/anitya/frontend/tasks/main.yml b/roles/anitya/frontend/tasks/main.yml index 0d0af58d98..bd5fe83f12 100644 --- a/roles/anitya/frontend/tasks/main.yml +++ b/roles/anitya/frontend/tasks/main.yml @@ -40,12 +40,12 @@ - name: Install the SSL cert so that we can use https copy: > - src={{ item }} dest=/etc/pki/tls/certs/{{ item }} + src={{ private}}/files/httpd/{{ item }} dest=/etc/pki/tls/certs/{{ item }} owner=root group=root mode=0600 with_items: - - "{{ private }}/files/httpd/release-monitoring.org.cert" - - "{{ private }}/files/httpd/release-monitoring.org.key" - - "{{ private }}/files/httpd/release-monitoring.org.intermediate.cert" + - release-monitoring.org.cert + - release-monitoring.org.key + - release-monitoring.org.intermediate.cert tags: - config - anitya_frontend