Hi
When running playbook i am geting (running Ansible 2.4)
fatal: [XXXXX]: FAILED! => {“changed”: false, “failed”: true, “msg”: "unable to open shell.
Try host_key …False no use…
need advice / help
Hi
When running playbook i am geting (running Ansible 2.4)
fatal: [XXXXX]: FAILED! => {“changed”: false, “failed”: true, “msg”: "unable to open shell.
Try host_key …False no use…
need advice / help
You need to provide more info.
include the playbook
the env (os, distro, version, etc) you are running ansible from
the env (os, distro, version, etc) you running the playbook against (the remote machine being managed)
any ansible config
the actual command line being used to start ansible-playbook
the full output from the failed ansible-playbook invocation (with the verbosity level raised by adding the ‘-vvvv’ cli opts to ansible-playbook command)
what you expect to happen
-bash-4.2$ ansible --version
ansible 2.4.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u’/ansible/lib/ansible’]
ansible python module location = /usr/lib/python2.7/site-packages/ansible-2.4.0-py2.7.egg/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]
-bash-4.2$
-bash-4.2$ cat cli-test.yml
ANY help?
You should probably try with the correct brackets.
i tried
ANy help…
It can't be the same issue since you have changed your code.
So we can't make this a guessing game, you need to provide more information like the output including the error message (as Adrian already have indicated).
So what is you error message now?
hi Sorry
Error and play-book is as below
Help…
Can you please re-try this on the released version of 2.4 and check if you are still seeing this issue.
Regards,
Ganesh