diff --git a/playbook/install-zabbix-agent.yml b/playbook/install-zabbix-agent.yml index a7b436d..1caa282 100644 --- a/playbook/install-zabbix-agent.yml +++ b/playbook/install-zabbix-agent.yml @@ -19,7 +19,7 @@ when: - ansible_os_family == "Debian" - - name: Zabbix Agent konfigurálása [CentOS] + - name: Zabbix Agent konfigurálása [Red Hat family] lineinfile: path: '/etc/zabbix_agentd.conf' regexp: "{{ item.regexp }}" @@ -35,7 +35,7 @@ notify: - restart zabbix-agent when: - - ansible_distribution == "CentOS" + - ansible_os_family == "RedHat" - name: Zabbix Agent konfigurálása [Debian family] lineinfile: