>
> Thank you so much for your reply.
I've got your point and have removed connection: local from my playbook.
But after that a new output appears this time.
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user
and
make sure become_method is 'sudo' (default). This feature will be removed
in
version 2.6. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
PLAY [Cassandra]
***************************************************************
TASK [Gathering Facts]
*********************************************************
fatal: [10.0.0.243]: UNREACHABLE! => {"changed": false, "msg": "Failed to
connect to the host via ssh: Permission denied (publickey,password).\r\n",
"unreachable": true}
to retry, use: --limit @/etc/ansible/playbooks/cassandra-playbook.retry
PLAY RECAP
*********************************************************************
10.0.0.243 : ok=0 changed=0 unreachable=1 failed=0
although when I ping 10.0.0.243 it perfectly connects. what can be the issue
--
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/346e4fca-e340-486e-9312-45e3e46ef47a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.