Allow possibility to add symlinks in Xymon configuration
This commit is contained in:
parent
12ffb8cbdb
commit
79f2cc36be
|
@ -1,8 +1,10 @@
|
|||
## v1.x
|
||||
## v1.1
|
||||
|
||||
### Fix
|
||||
* Ensure to keep permissions for configuration files.
|
||||
|
||||
### Enhancements
|
||||
* Allow possibility to add symlinks in Xymon configuration.
|
||||
|
||||
## v1.0
|
||||
|
||||
|
|
|
@ -31,6 +31,17 @@
|
|||
when: item.state == 'file'
|
||||
notify: ['restart xymon server service']
|
||||
|
||||
- name: Generate Xymon configuration symlinks
|
||||
template:
|
||||
src: '{{ item.src }}'
|
||||
dest: "/etc/xymon/{{ item.path }}"
|
||||
mode: '{{ item.mode }}'
|
||||
state: 'link'
|
||||
force: true
|
||||
with_filetree: '{{ xymon_server__etc_src }}'
|
||||
when: item.state == 'link'
|
||||
notify: ['restart xymon server service']
|
||||
|
||||
# Manage service [[[1
|
||||
|
||||
- name: Manage Xymon server service
|
||||
|
|
Loading…
Reference in New Issue