Problem:
Good afternoon. I’m trying to understand how foreman - ansible bundle works, please tell me how it should work at all.
I installed foreman on the same machine and deployed ansible. Installed plugins to work with ansible. Configured callback. For the test I wrote a ping role. Sort of successfully imported it into foreman. Imported ssh keys to the managed machine. Checked through Ansible the role works. I ran ansible -m setup b01test through ansible. The machine appeared in all foreman nodes. I went to the machine and added a role. I clicked start all roles. After some time a runtime error pops up
Am I doing the right thing? And how do I understand what the problem is?
Expected outcome:
Executing the Ansible role on a managed device
Foreman and Proxy versions:
Version 2.1.4
foreman-tasks 2.0.2
foreman_ansible 6.0.0.1
foreman_remote_execution 4.1.0.1
Other relevant data:
Output:
{"proxy_task_id"=>"1852e636-06a3-43d5-aea3-771143898c66"}
Exception:
Foreman::Exception: ERF42-3294 [Foreman::Exception]: The smart proxy task 1852e636-06a3-43d5-aea3-771143898c66 failed.