Problem with Ansible in Foreman

Problem:
Running any Ansible task through foreman results in an endlessly hanging task

Expected outcome:
Ansible task runs successfully

Foreman and Proxy versions:
Just updated to latest versions:
Foreman 1.24.1
Katello 3.14

Foreman and Proxy plugin versions:
Ansible plugin Version 3.0.1

ansible --version:
ansible 2.9.2
  config file = /usr/share/foreman-proxy/.ansible.cfg
  configured module search path = [u'/usr/share/foreman-proxy/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /bin/ansible
  python version = 2.7.5 (default, Dec  4 2019, 17:34:13) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39.0.1)]

Distribution and version:

Other relevant data:

I’ve tested running ansible and ansible-runner manually from foreman-proxy user and it works correctly, but for some reason it’s no longer working when I run it from foreman itself.
I’ve monitored our firewalls and verified that it’s not getting blocked there, in fact there seems to be no connection being opened at all.
Remote Execution works perfectly fine, only Ansible that’s having issues.

Hi @birkirf,

This seems to be a known issue in 1.24.x
Please read the following topic to help resolve the issue:

Kind regards,
Arend

Thanks for that link, i apparently overlooked/missed that issue when i was doing my search for similar issues.

Have you heard of any ETA on a fix for 1.24?
I’m unfortunately not exactly in a situation where i can use nightly or beta builds in my setup

Thanks again for pointing me in the right direction :slight_smile: