ansible

Module Contents

ansible.install_deps()

Download and install any external dependencies required for Ansible to run.

ansible.report_from_output(lines)

Process ‘ansible-playbook’ output, hide useless info, and report important info.

Return True whether there was at least one ‘failed’ module check. This can be used by the caller to differentiate between ansible-playbook exit code 2 due to failed checks vs the same exit code due to bad args, etc. (False && exit code 2 means a task-unrelated problem.)