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
Dustin 2018-06-19 20:37:09 -05:00
parent b5ea6b702a
commit f78fe14eae
1 changed files with 1 additions and 0 deletions

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