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