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
parent
8f90d802f4
commit
8176eaf694
|
@ -21,6 +21,7 @@
|
||||||
dest: /var/lib/selinux/collectd-local.pp
|
dest: /var/lib/selinux/collectd-local.pp
|
||||||
notify:
|
notify:
|
||||||
- install collectd-local selinux module
|
- install collectd-local selinux module
|
||||||
|
when: ansible_selinux.status == 'enabled'
|
||||||
tags:
|
tags:
|
||||||
- selinux
|
- selinux
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue