Ensure to keep permissions for configuration files
This commit is contained in:
parent
7b3f2cf8e5
commit
12ffb8cbdb
|
@ -1,3 +1,8 @@
|
|||
## v1.x
|
||||
|
||||
### Fix
|
||||
* Ensure to keep permissions for configuration files.
|
||||
|
||||
|
||||
## v1.0
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue