Red Hat Certified Specialist in Ansible Automation — Question 1
Which of the following are valid flags for the ansible-playbook command? (Choose all that apply.)
Answer options
- A. --include-tags
- B. --tags
- C. --skip-tags
- D. --tag
Correct answer: B, C
Explanation
--tags and --skip-tags are valid options for the ansible-playbook command, allowing users to specify which tasks to run or skip based on tags. The --include-tags option is not a recognized flag, and --tag is not valid as it should be --tags for multiple tags.