Solved

If Designing a Single Playbook to Run Across Multiple Linux

Question 438

Multiple Choice

If designing a single playbook to run across multiple Linux distributions that have distribution specific commands, what would be the best method to allow a successful run?


A) Enable fact gathering and use the `when' conditional to match the distribution to the task.
B) This is not possible, a separate playbook for each target Linux distribution is required.
C) Use `ignore_errors: true' in the tasks.
D) Use the `shell' module to write your own checks for each command that is ran.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents