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:
2018-06-19 20:37:09 -05:00
parent b5ea6b702a
commit f78fe14eae

View File

@@ -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