Bug #35585
closedUnable to enable callback plugin per-template
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2116369
Description of problem:
After the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1934110 went in (in 6.10), it's not possible to upload reports to Satellite for cloned roles.
The option to set a cloned role in "Administer -> Remote Execution Features -> ansible_run_host" is not valid since only one role (cloned or not) would have that
"ability", so it would be better to add a flag to every job template to enable it
(that way it could be inherited or not when cloned).
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Clone: "Ansible Roles - Ansible Default" template [1]
2. Run: the new template
3. "WARNING: Callback disabled by environment. Disabling the Foreman callback plugin"
Actual results:
Foreman callback plugin is not enabled and report is not uploaded to Satellite.
Expected results:
Foreman callback plugin is enabled if set and report is uploaded to Satellite.
Additional info: