Hi,

I am new the Ansible. I have setup ansible on Ubuntu machine.

$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository --yes --update ppa:ansible/ansible .   ->> *My 
machine don't have internet connection so this command didn't get executed*
$ sudo apt-get install ansible

But machine show ansible is successfully installed

*user@test-control-ansible*:*~*$ ansible --version

ansible 2.0.0.2

config file = /etc/ansible/ansible.cfg

configured module search path = Default w/o overrides


Then to verify I did simple ping test

I added target machine to ping to my hosts file (I followed some online 
tutorial)

*nbhadane@test-control-ansible*:*~*$ ansible -m ping test-servers


test-ansible.target.9307289.com | UNREACHABLE! => {

    "changed": false, 

    "msg": "ERROR! SSH encountered an unknown error during the connection. We 
recommend you re-run the command using -vvvv, which will enable SSH debugging 
output to help diagnose the issue", 

    "unreach


Is this a problem because it failed to add PPA repository? If yes, then how to 
add PPA repository on offline machine

OR Is this any other issue?

Please help me.


Thanks,

Nilesh

 

-- 
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/c1619a23-60ef-4e4b-afd0-868a4db1a185%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to