Why am I Receiving "Unexpected Failure During Module Execution" Error When Using parse_cli?

Solution Verified - Updated -

Issue

When executing a job in Ansible Tower, the job will fail on the parse_cli task with the following error:


IOError: [Errno 2] No such file or directory: fatal: [tower.example.com]: FAILED! => { "failed": true, "msg": "Unexpected failure during module execution.", "stdout": "" }

The job does not fail when running the playbook from the command-line.

Environment

  • Ansible 2.4
  • Ansible Tower 3.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.