Ansible jobs are failing on the Satellite server with error: Unexpected failure in finding the lookup named '{{ foreman_ansible_roles }}' in the available lookup plugins.
Issue
- Ansible jobs are failing on the Satellite server with the below error:
TASK [Apply roles] *************************************************************
136:
fatal: [client.example.com]: FAILED! => {"msg": "Unexpected failure in finding the lookup named '{{ foreman_ansible_roles }}' in the available lookup plugins"}
137:
PLAY RECAP *********************************************************************
138:
client.example.com : ok=2 changed=0 unreachable=0 failed=1
139:
[WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin
140:
(<ansible.plugins.callback.foreman.CallbackModule object at 0x7fd32b8ed650>):
141:
('Connection aborted.', error(111, 'Connection refused'))
142:
Exit status: 2
Environment
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.