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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content