Actualizar 'zabbix/agent.yaml'

This commit is contained in:
David Lopez 2023-07-24 11:53:48 +00:00
parent 09195ae8d8
commit 568b18dc59
1 changed files with 1 additions and 1 deletions

View File

@ -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