Fix syntax error and install wsgi and apache conf file only when needed
This commit is contained in:
parent
2115866868
commit
1120037afd
1 changed files with 5 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue