diff --git a/zabbix/agent.yaml b/zabbix/agent.yaml index 83c7a2e..956b552 100644 --- a/zabbix/agent.yaml +++ b/zabbix/agent.yaml @@ -1,6 +1,6 @@ # ansible-playbook -i inventory agent.yaml -u centos --key-file=node.pem -b --- -- hosts: hostvars['hostname'] +- hosts: hostvars[hostname] gather_facts: false vars: ansible_python_interpreter: /usr/bin/python3