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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user