Hi all, I ran the ansible-playbook using the file below and got the following
errors.
FILE: file.yml---- hosts: g1 remote_user: root tasks: - name: test
connection ping: remote_user: yourname
:::ERROR:::
PLAY [g1] *********************************************************************
GATHERING FACTS ***************************************************************
ok: [xxx.srv.xxx.de]
TASK: [test connection] *******************************************************
fatal: [xxx.srv.xxx.de] => {'msg': "FAILED: ('Bad authentication type',
[u'publickey', u'gssapi-with-mic', u'keyboard-interactive'])
(allowed_types=[u'publickey', u'gssapi-with-mic', u'keyboard-interactive'])",
'failed': True}
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/yourname/x.retry
xxx.srv.xxx.de : ok=1 changed=0 unreachable=1 failed=0PS: IF i set
same password for root and "yourname", It is working fine.
Is it a bug or am i missing some basic setting in the script? Could anyone
please help me with this issue?
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/d467fd84-a21f-46af-b07b-065327779b35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.