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.
Correct Answer:
Verified
Q420: You need to deploy a new application
Q421: What method should you use to author
Q422: What are the bare minimum requirements for
Q423: When thinking of AWS Elastic Beanstalk, the
Q424: To monitor API calls against our AWS
Q426: Which one of the following is a
Q427: If you are trying to configure an
Q428: You are building a game high score
Q429: Your system automatically provisions EIPs to EC2
Q430: Which status represents a failure state in
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents