December 2018
Intermediate to advanced
226 pages
4h 57m
English
In this section, we are going to declare the publicips variable as a dictionary in Ansible. This variable holds the name and IP address for each of the IPs we want to ping:
vars: publicips: { "dns1": "4.2.2.2", "dns2": "8.8.8.8", "dns3": "1.1.1.1", "dns4": "8.8.8.4", }
Read now
Unlock full access