Move ODCS pungi.conf from 'templates' to 'files', so it can be copied without replacing the jinja2 vars.
This commit is contained in:
parent
64856d2aea
commit
254d35c042
2 changed files with 3 additions and 7 deletions
|
@ -82,13 +82,9 @@
|
||||||
- odcs
|
- odcs
|
||||||
- odcs/backend
|
- odcs/backend
|
||||||
|
|
||||||
- name: generate the ODCS pungi config for backend
|
- name: copy the ODCS pungi config template to backend
|
||||||
template:
|
copy: src="{{ roles_path }}/odcs/base/files/pungi.conf" dest=/etc/odcs/pungi.conf
|
||||||
src: etc/odcs/pungi.conf
|
owner=odcs group=odcs mode=0640
|
||||||
dest: /etc/odcs/pungi.conf
|
|
||||||
owner: odcs
|
|
||||||
group: odcs
|
|
||||||
mode: 0440
|
|
||||||
notify:
|
notify:
|
||||||
- restart odcs-backend
|
- restart odcs-backend
|
||||||
when: inventory_hostname.startswith('odcs-backend')
|
when: inventory_hostname.startswith('odcs-backend')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue