Problem:
Running Ansible Roles on a Host Group does not work. When I go to “Host Groups” and want to run a bulk action under “Actions” and select “Run all Ansible roles” a blank page is displayed. But obviously its not only that nothing is displayed but nothing gets applied at all.
Expected outcome:
Application of corresponding Roles
Foreman and Proxy versions:
foreman-proxy-3.1.2-1.el8.noarch
Foreman and Proxy plugin versions:
rubygem-smart_proxy_ansible-3.3.0-3.fm3_1.el8.noarch
Distribution and version:
RHEL 8
Other relevant data:
Running Roles on single hosts works as expected. But when the same role gets applied on host groups to perform a bulk action, role application fails. After triggering following white page is displayed.
2022-03-29T15:06:51 [I|app|0b0578d9] Completed 200 OK in 127ms (Views: 105.3ms | ActiveRecord: 11.0ms | Allocations: 96597)
2022-03-29T15:06:52 [I|app|1812be02] Started GET "/notification_recipients" for xx.xx.xx.56 at 2022-03-29 15:06:52 +0200
2022-03-29T15:06:52 [I|app|1812be02] Processing by NotificationRecipientsController#index as JSON
2022-03-29T15:06:52 [I|app|1812be02] Completed 200 OK in 8ms (Views: 0.1ms | ActiveRecord: 1.3ms | Allocations: 2140)
2022-03-29T15:06:59 [I|app|920508b8] Started GET "/ansible/hostgroups/5-Test-RHEL8/play_roles" for xx.xx.xx.56 at 2022-03-29 15:06:59 +0200
2022-03-29T15:06:59 [I|app|920508b8] Processing by ReactController#index as HTML
2022-03-29T15:06:59 [I|app|920508b8] Parameters: {"page"=>"5-Test-RHEL8/play_roles"}
2022-03-29T15:06:59 [I|app|920508b8] Rendering react/index.html.erb within layouts/react_application
2022-03-29T15:06:59 [I|app|920508b8] Rendered react/index.html.erb within layouts/react_application (Duration: 3.5ms | Allocations: 5360)
2022-03-29T15:06:59 [I|app|920508b8] Rendering layouts/base.html.erb
2022-03-29T15:06:59 [I|app|920508b8] Rendered layouts/base.html.erb (Duration: 16.1ms | Allocations: 22877)
2022-03-29T15:06:59 [I|app|920508b8] Completed 200 OK in 30ms (Views: 22.4ms | ActiveRecord: 1.7ms | Allocations: 36568)
2022-03-29T15:06:59 [I|app|307beca7] Started GET "/notification_recipients" for xx.xx.xx.56 at 2022-03-29 15:06:59 +0200
2022-03-29T15:06:59 [I|app|307beca7] Processing by NotificationRecipientsController#index as JSON
2022-03-29T15:06:59 [I|app|307beca7] Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 1.0ms | Allocations: 2140)
2022-03-29T15:07:10 [I|app|a3b037b9] Started GET "/notification_recipients" for xx.xx.xx.56 at 2022-03-29 15:07:10 +0200
2022-03-29T15:07:10 [I|app|a3b037b9] Processing by NotificationRecipientsController#index as JSON
2022-03-29T15:07:10 [I|app|a3b037b9] Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.8ms | Allocations: 2124)
2022-03-29T15:07:20 [I|app|ba6ffb40] Started GET "/notification_recipients" for xx.xx.xx.56 at 2022-03-29 15:07:20 +0200
2022-03-29T15:07:20 [I|app|ba6ffb40] Processing by NotificationRecipientsController#index as JSON
2022-03-29T15:07:20 [I|app|ba6ffb40] Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.9ms | Allocations: 2124)
2022-03-29T15:07:30 [I|app|d4b03d33] Started GET "/notification_recipients" for xx.xx.xx.56 at 2022-03-29 15:07:30 +0200
2022-03-29T15:07:30 [I|app|d4b03d33] Processing by NotificationRecipientsController#index as JSON
2022-03-29T15:07:30 [I|app|d4b03d33] Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.9ms | Allocations: 2124)
2022-03-29T15:07:40 [I|app|67a62759] Started GET "/notification_recipients" for xx.xx.xx.56 at 2022-03-29 15:07:40 +0200
2022-03-29T15:07:40 [I|app|67a62759] Processing by NotificationRecipientsController#index as JSON
Here the corresponding documentation
Any ideas whats wrong?