New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-1067 Topic 2 Question 11 Discussion

Actual exam question for Oracle's 1Z0-1067 exam
Question #: 11
Topic #: 2
[All 1Z0-1067 Questions]

Your team Implemented a SaaS application that requires a whole system deployment for each new customer. The Infrastructure provisioning is already automated via Terraform, and now you have been asked to develop an Ansible playbook to centralize configuration file management and deployment.

What Is the most effective way to ensure your playbooks are utilizing up-to-date and accurate Inventory?

Show Suggested Answer Hide Answer
Suggested Answer: D

Ansible tracks configuration resources by preserving lists, called inventory lists. These inventory files can be either simple static lists, or they can be dynamic lists that automatically update when inventory resources are added, deleted, or moved.

When using Ansible to work with hosts that you have provisioned in Oracle Cloud Infrastructure, static inventory lists can cause problems because Compute instances are added and deleted over time. They can also be affected by external tools such as Terraform, or by the Oracle Cloud Infrastructure SDKs.

Oracle Cloud Infrastructure provides two tools for working with Ansible inventory: a dynamic inventory plugin (recommended) and a dynamic inventory script.

Using the Dynamic Inventory Script

Having up-to-date and accurate inventory lists is essential for running Ansible playbooks. Oracle Cloud Infrastructure provides you with a script that you can download and run to ensure that your instance inventory list is always up-to-date. The script ensures that you always have the current set of Oracle Cloud Infrastructure compute instances available to your playbooks

https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/ansibleinventoryscript.htm


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77