roles/zabbix: Respect host_uses_firewalld
For machines that do not use firewalld, the *zabbix-agent* role will now skip attempting to open the Zabbix agent port using the `firewalld` module. The `host_uses_firewalld` variable controls this behavior.jenkins-master
parent
b5ea6b702a
commit
f78fe14eae
|
@ -34,6 +34,7 @@
|
|||
state=enabled
|
||||
tags:
|
||||
- firewalld
|
||||
when: host_uses_firewalld|d(true)
|
||||
notify: save firewalld configuration
|
||||
|
||||
- name: ensure zabbix agent starts at boot
|
||||
|
|
Loading…
Reference in New Issue