Allow multi-lines with ansible_managed | comment
This commit is contained in:
parent
745f3bd3a6
commit
38ffb9af77
|
@ -1,3 +1,8 @@
|
|||
## v2.2.0
|
||||
|
||||
### Enhancements
|
||||
* Use **comment** filter for ansible_managed, to allow multi-lines.
|
||||
|
||||
## v2.1.0
|
||||
|
||||
### Enhancements
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
|
||||
# Configure the Xymon client settings.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{% for package in xymon_cli__plug_apt_combined_whitelist %}
|
||||
{{ package }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[apt]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_apt_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[ipmi]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_ipmi_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[kern]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_kern_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[libs]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_libs_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Requires megaclisas-status package from https://hwraid.le-vert.net/wiki/DebianPackages
|
||||
[megaraid]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_megaraid_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[mq]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_mq_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[net]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_net_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[netstats]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_netstats_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[ntpq]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_ntpq_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[sge]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_sge_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[smart]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_smart_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[smartoverall]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_smartoverall_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[temp]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_temp_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[zfs]
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ '#DISABLED' if xymon_cli__plug_zfs_state else 'DISABLED' }}
|
||||
ENVFILE /etc/xymon/xymonclient.cfg
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{% set inputmerged = xymon_cli__plug_libs_default_whitelist.copy() %}
|
||||
{% set _ = inputmerged.update(xymon_cli__plug_libs_whitelist) %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
## From ipr-cnrs.xymon role
|
||||
{{ ansible_hostname }}:
|
||||
- {{ ansible_default_ipv4.interface }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
# From ipr-cnrs.xymon role
|
||||
# https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/sge.sh
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# $Id: sensors 70 2011-11-25 09:21:18Z skazi $
|
||||
# Author: Jacek Tomasiak <jacek.tomasiak@gmail.com>
|
||||
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
# From ipr-cnrs.xymon role
|
||||
# Thanks to Jacek Tomasiak − skazi0
|
||||
# https://github.com/skazi0/xymon-plugins/blob/master/client/ext/smart
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
|
||||
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
# From ipr-cnrs.xymon role
|
||||
# Source :
|
||||
# https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/xymon/plugins/client/ext/smartoverall
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/ksh
|
||||
|
||||
# {{ ansible_managed }}
|
||||
# {{ ansible_managed | comment }}
|
||||
# From ipr-cnrs.xymon role
|
||||
|
||||
# Revision History:
|
||||
|
|
Loading…
Reference in New Issue