diff --git a/roles/nuancier/tasks/main.yml b/roles/nuancier/tasks/main.yml index 012d98e9c0..cee59e2ea7 100644 --- a/roles/nuancier/tasks/main.yml +++ b/roles/nuancier/tasks/main.yml @@ -13,9 +13,7 @@ src={{ item.file }} dest={{ item.location }}/{{ item.dest }} owner=apache group=apache mode=0600 with_items: - - { file: nuancier_admin.cfg, location: /etc/nuancier, dest:nuancier.cfg } - - { file: nuancier.conf, location: /etc/httpd/conf.d, dest: nuancier.conf } - - { file: nuancier.wsgi, location: /usr/share/nuancier, dest: nuancier.wsgi } + - { file: nuancier_admin.cfg, location: /etc/nuancier, dest: nuancier.cfg } tags: - config notify: @@ -37,10 +35,12 @@ - name: replace the nuancier configuration file by the one with the normal user template: > - src={{ item.file }} dest={{ item.location }}/{{ item.dest }} + src={{ item.file }} dest={{ item.location }}/{{ item.file }} owner=apache group=apache mode=0600 with_items: - - { file: nuancier.cfg, location: /etc/nuancier, dest:nuancier.cfg } + - { file: nuancier.cfg, location: /etc/nuancier } + - { file: nuancier.conf, location: /etc/httpd/conf.d } + - { file: nuancier.wsgi, location: /usr/share/nuancier } tags: - config notify: