From 568b18dc5940d2ef37a7c4dd7a90b69fee38e720 Mon Sep 17 00:00:00 2001 From: David Lopez Date: Mon, 24 Jul 2023 11:53:48 +0000 Subject: [PATCH] Actualizar 'zabbix/agent.yaml' --- zabbix/agent.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix/agent.yaml b/zabbix/agent.yaml index df03cca..925b556 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'].ansible_host }} +- hosts: {{ hostvars[hostname].ansible_host }} gather_facts: false vars: ansible_python_interpreter: /usr/bin/python3