Error while Install and Configure ‘Ansible’ Automation Tool for IT Management


#21

added ansible password and user.
trying to ping getting below error :

$ ansible -m ping 52.221.230.55 -vvv
No config file found; using defaults
Using module file /opt/ansible/lib/ansible/modules/core/system/ping.py
<52.221.230.55> ESTABLISH SSH CONNECTION FOR USER: root
52.221.230.55 | FAILED! => {
“failed”: true,
“msg”: “to use the ‘ssh’ connection type with passwords, you must install the sshpass program”
}

Note : I’m Using cygwin


#22

@raghuu

why I need to put password on /etc/ansible/hosts file. I will login via sshkey file right.


#23

Once look at the below links

http://www.tecmint.com/install-and-configure-ansible-automation-tool-in-linux

https://valdhaus.co/writings/ansible-post-install/