Hello,
I am trying to run ansible playbook on mutiple hosts with different
passwords.
I tried this:
ansible-playbook -i hosts test2.yml --extra-vars "ansible_user=root
ansible_password=dfth ansible_password=yuij"
But it connects only one host and gives authentication issue for
another.
PLAY [Hello World!]
****************************************************************************************************************************************************
TASK [Hello World!]
****************************************************************************************************************************************************
changed: [172.20.24.xx]
fatal: [10.1.242.163]: UNREACHABLE! => {"changed": false, "msg":
"Authentication failure.", "unreachable": true}
to retry, use: --limit @/root/test/test2.retry
PLAY RECAP
*************************************************************************************************************************************************************
10.1.242.xx : ok=0 changed=0 unreachable=1 failed=0
172.20.24.xx : ok=1 changed=1 unreachable=0 failed=0
[root@vuhplabspawx001 test]#
Please help me to accomplish this, I am new to ansible. :) Your prompt
response is highly appreciated
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/e44491a1-53f0-43ed-9368-b031c315572e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.