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/backend
|
||||
|
||||
- name: generate the ODCS pungi config for backend
|
||||
template:
|
||||
src: etc/odcs/pungi.conf
|
||||
dest: /etc/odcs/pungi.conf
|
||||
owner: odcs
|
||||
group: odcs
|
||||
mode: 0440
|
||||
- name: copy the ODCS pungi config template to backend
|
||||
copy: src="{{ roles_path }}/odcs/base/files/pungi.conf" dest=/etc/odcs/pungi.conf
|
||||
owner=odcs group=odcs mode=0640
|
||||
notify:
|
||||
- restart odcs-backend
|
||||
when: inventory_hostname.startswith('odcs-backend')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue