Running an Ansible role doesn't end its task

Problem:

Running an Ansible role triggers a task that never ends, despites the generated playbook has finished.

Expected outcome:

The task should end and a report should be available.

Foreman and Proxy versions:

Foreman 1.19.0 (both Foreman and Proxy)

Foreman and Proxy plugin versions:

foreman_ansible 2.2.9

Other relevant data:

Log here: https://gist.github.com/lnomine/cf9bb383b2b068f17e8b5caf576eaebd


Thanks a lot.

Hi,
it looks like you don’t have foreman_url configured in /etc/foreman-proxy/settings.yml

That was the fix, thank you. As an enhancement, the smart-proxy should log that in a more precise manner. What do you think ?

Alright, created an issue[1] to track that.

[1] -Bug #25389: Smart Proxy Dynflow should log a proper error when foreman_url is not set - Foreman Remote Execution - Foreman