Hello...

Looking for help and support on my issue in connecting to remote host.
Basically, I can able to ssh to remote host but when trying to run an 
ansible ad-hoc to test my connection, it couldn't connect to the remote 
host but instead the result is the local server.

*here's the snapshot....*
*Local Server: awssandbox001.test.com.aws*

*inventory host*
*[test-server]*

* awstarget001.test.com.aws*
* awstarget002.test.co.aws *

*/home> ansible test-server -m shell -a 'hostname'*



* awstarget001.test.com.aws | CHANGED | rc=0 >> awssandbox001.test.com.aws 
awstarget002.test.com.aws | CHANGED | rc=0 >> awssandbox001.test.com.aws *

Thank you and appreciated....
Jacob


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/88820f65-d1c7-4ff3-a4a8-901d920074aan%40googlegroups.com.

Reply via email to