- Create 5x CentOS 7 VMs: "centos1, centos2, centos3, centos4 and centos5"
- Update /etc/hosts file on each VM using Ansible so that each VMs name and IP is appended into the file.
- Update /etc/resolv.conf file on each VM using Ansible with below 2 lines
nameserver 8.8.8.8 nameserver 8.8.4.4
- Update /etc/chrony.conf file on each VM using Ansible with below NTP servers.
time1.google.com time2.google.com
Use variables for all the above values.