Ansible tower new host ssh connection

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

For tower questions, please utilize https://access.redhat.com/products/ansible-tower-red-hat

This mailing list is for the open source ansible project.