r/collectd-prometheus: Work w/o firewalld, selinux

Tasks that configure the SELinux policy obviously only make sense if the
host uses SELinux.  Similarly, if the host does not use FirewallD,
configuring firewall rules doesn't work.
btop
Dustin 2022-06-28 09:47:18 -05:00
parent 8f90d802f4
commit 8176eaf694
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@
dest: /var/lib/selinux/collectd-local.pp
notify:
- install collectd-local selinux module
when: ansible_selinux.status == 'enabled'
tags:
- selinux