Cloudkul Support

How to add IP addresses in ansible host setup ?

To setup ansible hosts i.e. adding the list of IP addresses that ansibile is going to access, we define a group under which IP addresses are mentioned.

Open host configuration file:

nano /etc/ansible/hosts


host1 ansible_ssh_host=
host2 ansible_ssh_host=
host3 ansible_ssh_host=


Is this article is helpful?

People like and 1 people dislike.

If result is not found or irrelevant, Please contact us.

Submit your request