Solved

If Designing a Single Playbook to Run Across Multiple Linux

Question 442

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