mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
Define the / file check for every host but cloud
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
define service {
|
||||
hostgroup_name virtservers
|
||||
hostgroup_name all,!cloud
|
||||
service_description Disk_Space_/
|
||||
check_command check_by_nrpe!check_disk_/
|
||||
use disktemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name virtservers,proxies
|
||||
hostgroup_name all,!cloud
|
||||
service_description Disk Space /boot
|
||||
check_command check_by_nrpe!check_disk_/boot
|
||||
use disktemplate
|
||||
|
||||
@@ -4,14 +4,12 @@
|
||||
## {{ env }}
|
||||
|
||||
{% for key, value in groups.iteritems() %}
|
||||
{% if groups[key] and key !='all' %}
|
||||
define hostgroup{
|
||||
hostgroup_name {{ key }}
|
||||
alias {{ key }}
|
||||
members {% for host in groups[key] %}{{host}}, {% endfor %}
|
||||
|
||||
}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user