computer-playbook/roles/docker-matrix-ansible/templates/hosts.yml.j2

8 lines
232 B
Django/Jinja

matrix_servers:
hosts:
{{inventory_hostname}}:
ansible_host: "{{ip4_address}}"
ansible_ssh_user: administrator
become: true
become_user: root
ansible_become_password: "{{ansible_become_password}}"