Channel | Publish Date | Thumbnail & View Count | Actions |
---|---|---|---|
| 2019-01-12 17:40:24 | ![]() 5,621 Views |
When there is no DNS server in your infrastructure, How do you make ansible remote hosts be aware of each other server’s IP address.
Yes, The local DNS or /etc/hosts file is the only option
This video talks about how to update the /etc/hosts file across the ansible remote servers to enable DNS lookup between the host group members.
As a Result. Each remote host would be able to connect to the remote server using their hostname and not just IP.
Theoretical explanation of this post can be found here
Please take the opportunity to connect and share this video with your friends and family if you find it useful.