Are the files also moved to the correct template directory or are they
there already? If they are there already +1
On 17 March 2017 at 20:07, Patrick Uiterwijk <puiterwijk(a)redhat.com> wrote:
Turns out I'll need a follow-up...
Can I get +!s to also apply the following to make this actually work?
Moved roles/anitya/frontend/files/0_releasemonitoring.conf ->
roles/anitya/frontend/templates/0_releasemonitoring.conf
Moved roles/piwik/files/piwik-httpd.conf ->
roles/piwik/templates/piwik-httpd.conf
commit 10300f667f81c690c68368bad66a2e03d8d1d1d8
Author: Patrick Uiterwijk <puiterwijk(a)redhat.com>
Date: Fri Mar 17 23:51:08 2017 +0000
Move piwik and anity configs to templates
Signed-off-by: Patrick Uiterwijk <puiterwijk(a)redhat.com>
diff --git a/roles/anitya/frontend/tasks/main.yml
b/roles/anitya/frontend/tasks/main.yml
index 58f1bcf..af6e6ea 100644
--- a/roles/anitya/frontend/tasks/main.yml
+++ b/roles/anitya/frontend/tasks/main.yml
@@ -46,7 +46,7 @@
- anitya_frontend
- name: Install the configuration file to activate https
- copy: >
+ template: >
src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
owner=root group=root mode=0644
with_items:
diff --git a/roles/piwik/tasks/main.yml b/roles/piwik/tasks/main.yml
index ce45685..f63dfeb 100644
--- a/roles/piwik/tasks/main.yml
+++ b/roles/piwik/tasks/main.yml
@@ -9,7 +9,7 @@
- piwik
- name: set up http configs for piwik
- copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
+ template: src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
owner=root group=root mode=0644
with_items:
- piwik-httpd.conf
_______________________________________________
infrastructure mailing list -- infrastructure(a)lists.fedoraproject.org
To unsubscribe send an email to infrastructure-leave(a)lists.fedoraproject.org
--
Stephen J Smoogen.