add some rhel9 conditionals for collectd, but remove for nagios

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-06-01 12:10:05 -07:00
parent a5dc93c76d
commit 7d6f4c12ac
2 changed files with 3 additions and 3 deletions

View file

@ -20,8 +20,8 @@
- { role: openvpn/client,
when: datacenter != 'iad2' }
- ipa/client
- collectd/base
- collectd/bind
- { role: collectd/base, when: ansible_distribution_version|int < 9.0 }
- { role: collectd/bind, when: ansible_distribution_version|int < 9.0 }
- rsyncd
- sudo
- dns

View file

@ -37,7 +37,7 @@
roles:
- base
- { role: rkhunter, when: ansible_distribution_version|int < 9.0 }
- { role: nagios_client, when: ansible_distribution_version|int < 9.0 }
- { role: nagios_client }
- hosts
- { role: openvpn/client, when: vpn|bool }
- ipa/client