Actions
Bug #35167
closedMove hostgroups dropdown actions to an extendable helper
Description
Adding the Ansible plugin overrides the `Actions` menu on the Hostgroups page.
The code on Github - https://github.com/theforeman/foreman_ansible/blob/c31e984a66ee2bf6a74756a981abc5c4dced108b/app/overrides/hostgroup_play_roles.rb
The actions array used from Ansible - https://github.com/theforeman/foreman_ansible/blob/c31e984a66ee2bf6a74756a981abc5c4dced108b/app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb#L8
So if we change something on the original actions array, we won't see it when using the Ansible plugin.
Should we keep it like that and fix this by applying the changes from the original actions array, or maybe we should extend it using pagelets?
Actions