Why is the Ansible Tower Installation Failing at Task "packages_el : Install postgres with error: Task object has no attribute async_val"?

Solution Verified - Updated -

Issue

Tower setup is failing at the below task:

TASK [packages_el : Install postgres] *************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'Task' object has no attribute 'async_val'
fatal: [localhost]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}
    to retry, use: --limit @/root/ansible-tower-setup-3.4.0-2/install.retry

PLAY RECAP ****************************************************************************************************************************
localhost                  : ok=34   changed=7    unreachable=0    failed=1

Environment

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