Hi, 
I have recently started using Ansible tower for REST based API support for 
ansible. In order to manage new hosts in ansible we need to edit 
/etc/ansible/hosts file, add new host to it, and setup SSH connection with 
this host by copying the ssh-keygen file to this new host. 

My question is : 
1. We have Inventory in ansible tower as well. If i add my host to Ansible 
tower do i still need to add this host entry to my etc/ansible/hosts file ? 
2. If adding the host to tower is sufficient, how can i run job on the fly 
on this new host. Will Tower setup SSH on its own or i still have to setup 
SSH for newly added host ? Is there a way to automate this through REST API 
?

I am new to linux and i have never worked on SSH before. Any help would be 
useful ? Please let me know if you need any further details. 

Thanks
Shruti

-- 
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/9280d203-be56-45de-8e1e-c87df46ad09f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to