Add information that files come from Ansible

This commit is contained in:
Jeremy Gardais 2020-10-28 11:08:02 +01:00
parent 68ba6f14f1
commit 6931410def
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
10 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
# Configure the Xymon client settings.
# You MUST set the list of Xymon servers that this

View File

@ -1,4 +1,5 @@
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{% for package in xymon_plug_apt_combined_whitelist %}
{{ package }}
{% endfor %}

View File

@ -1,4 +1,6 @@
[apt]
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_plug_apt_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg
CMD $XYMONCLIENTHOME/ext/apt

View File

@ -1,4 +1,6 @@
[ipmi]
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_ipmi_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg
CMD /usr/bin/sudo -E -u root $XYMONCLIENTHOME/ext/ipmi

View File

@ -1,4 +1,6 @@
[libs]
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_plug_libs_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg
CMD $XYMONCLIENTHOME/ext/libs

View File

@ -1,4 +1,6 @@
[mq]
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_plug_mq_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg
CMD $XYMONCLIENTHOME/ext/mq

View File

@ -1,4 +1,6 @@
[netstats]
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_netstats_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg
CMD $XYMONCLIENTHOME/ext/netstats

View File

@ -1,4 +1,6 @@
[zfs]
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{{ '#DISABLED' if xymon_cli__plug_zfs_state else 'DISABLED' }}
ENVFILE /etc/xymon/xymonclient.cfg
CMD /usr/bin/sudo -E -u root $XYMONCLIENTHOME/ext/zfs

View File

@ -1,4 +1,5 @@
# {{ ansible_managed }}
## From ipr-cnrs.xymon role
{% set inputmerged = xymon_plug_libs_default_whitelist.copy() %}
{% set _ = inputmerged.update(xymon_plug_libs_whitelist) %}
{% set _ = inputmerged.update(xymon_plug_libs_group_whitelist) %}

View File

@ -1,4 +1,8 @@
#!/bin/ksh
# {{ ansible_managed }}
# From ipr-cnrs.xymon role
# Revision History:
# 1. Mike Rowell <Mike.Rowell@Rightmove.co.uk>, original
# 2. Uwe Kirbach <U.Kirbach@EnBW.com>