Ensure to keep permissions for configuration files

This commit is contained in:
Jeremy Gardais 2018-07-12 09:38:20 +02:00
parent 7b3f2cf8e5
commit 12ffb8cbdb
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
## v1.x
### Fix
* Ensure to keep permissions for configuration files.
## v1.0

View File

@ -22,10 +22,11 @@
when: item.state == 'directory'
notify: ['restart xymon server service']
- name: Ensure /etc files are populated from templates
- name: Generate Xymon configuration files
template:
src: '{{ item.src }}'
dest: "/etc/xymon/{{ item.path | replace('.j2','') }}"
mode: '{{ item.mode }}'
with_filetree: '{{ xymon_server__etc_src }}'
when: item.state == 'file'
notify: ['restart xymon server service']