Practice Test Geeks home

Ansible Automation Case Studies & Practical Application 4

A playbook task uses the shell module to run a script that always returns exit code 0, even on failure, but prints 'ERROR' to stdout on failure.
How should the task detect failure?

Select your answer