, ,

Ansible ssh password auth

Voir:

---
ansible_user : <username to ssh into>
ansible_ssh_pass : <password for the username>
ansible_become_pass: <password for becoming the root>

hosts

[plop]
192.168.134.227         ansible_ssh_user=jean ansible_ssh_pass='P@ssw0rd' ansible_become_pass='P@ssw0rd'
ansible -i hosts -m ping plop