From 62e4eb7978d96f27b92e9c29705f822b4f82360e Mon Sep 17 00:00:00 2001 From: David Lopez Date: Mon, 24 Jul 2023 12:28:21 +0000 Subject: [PATCH] Actualizar 'zabbix/agent.yaml' --- zabbix/agent.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zabbix/agent.yaml b/zabbix/agent.yaml index 3699716..f613e57 100644 --- a/zabbix/agent.yaml +++ b/zabbix/agent.yaml @@ -1,6 +1,7 @@ # ansible-playbook -i inventory agent.yaml -u centos --key-file=node.pem -b --- -- hosts: {"{ hostvars[hostname].ansible_host }"} +#- hosts: {"{ hostvars[hostname].ansible_host }"} +- hosts: {{ hostvars['hostname'].ansible_host }} gather_facts: false vars: ansible_python_interpreter: /usr/bin/python3