Move ODCS pungi.conf from 'templates' to 'files', so it can be copied without replacing the jinja2 vars.

This commit is contained in:
Jan Kaluža 2017-12-11 09:03:03 +00:00
parent 64856d2aea
commit 254d35c042
2 changed files with 3 additions and 7 deletions

View file

@ -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')