AttributeError: 'Task' object error with no attribute 'async_val' on preconfig.yml prior to OCP installation
Issue
- While running a host preparation preconfig.yml as part of the openshift installation process it fails.
TASK [get repolist] ***************************************************************************************************************************************************
task path: /home/user/Projects/ocp-automation/RHEL-preconfig-playbook.yml:43
The full traceback is:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 130, in run
res = self._execute()
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 528, in _execute
result = self._handler.run(task_vars=variables)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/command.py", line 23, in run
wrap_async = self._task.async_val and not self._connection.has_native_async
AttributeError: 'Task' object has no attribute 'async_val'
fatal: [ec2-compute-x.amazonaws.com]: FAILED! => {}
MSG:
Unexpected failure during module execution.
Environment
- OpenShift Container Platform 3.6
- Dynamic inventory
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.