Allow possibility to add symlinks in Xymon configuration

This commit is contained in:
Jeremy Gardais 2018-07-12 09:39:42 +02:00
parent 12ffb8cbdb
commit 79f2cc36be
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 14 additions and 1 deletions

View File

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

View File

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