List of questions
Related questions
Question 28 - DOP-C01 discussion
If Erin has three clusters of server types that are all managed by Ansible and she needs to provision each cluster so that they are configured with their appropriate NTP server addresses. What is the best method Erin should use in Ansible for managing this?
A.
Write a task that scans the network in the target hosts' region for the NTP server, register the resulting address so that the next task can write the NTP configuration.
B.
Break down the hosts by region in the Ansible inventory file and assign an inventory group variable the NTP address value for the respective region. The playbook can contain just the single play referencing the NTP variable from the inventory.
C.
Create a playbook for each different region and store the NTP address in a variable in the play in the event the NTP server changes.
D.
Create three plays, each one has the hosts for their respective regions and set the NTP server address in each task.
Your answer:
0 comments
Sorted by
Leave a comment first