DevOps Tools Engineer (LPIC-OT 701) — Question 41

Which of the following conditionals exist in an Ansible playbook? (Choose three correct answers.)

Answer options

Correct answer: C, D, E

Explanation

The correct answers, C (with_sequence), D (with_items), and E (with_nested), are all valid loop constructs in Ansible playbooks that allow for iteration over items. Options A (with_nodes) and B (with_playbook) are not recognized conditionals in Ansible, making them incorrect choices.