We installed ansible using PIP in ubuntu 16.04
ANSIBLE VERSION 2.3.2, I have got to know that if ansible installed using 
pip configuration folder and file will not be created defaultly in 
/etc/ansible/hosts. Now i need to know how to create that configuration and 
host and Ping the remote machines, 

Please help.

| UNREACHABLE! => {
    "changed": false,
    "msg": "Failed to connect to the host via ssh: OpenSSH_6.6.1, OpenSSL 
1.0.1f 6 Jan 2014\r\ndebug1: Reading configuration data 
/etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options 
for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket 
\"/root/.ansible/cp/8625c99978\" does not exist\r\ndebug2: ssh_connect: 
needpriv 0\r\ndebug1: Connecting to xx.xx.xx.xx [xx.xx.xx.xx] port 
22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: connect to address 
xx.xx.xx.xx port 22: Connection timed out\r\nssh: connect to host xx.xx.xx.xx 
port 22: Connection timed out\r\n",
    "unreachable": true

-- 
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/efb5ad68-ef8a-4098-8799-8d20d6d3fe4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to