`[WARNING]: Callback disabled by environment. Disabling the Foreman callback` while running Ansible playbooks via remote execution on Red Hat Satellite 6.x
Environment
- Red Hat Satellite 6.14.4.2-1
Issue
-
After updating from Red Hat Satellite 6.14.2-1 to 6.14.4.2-1, the following message is displayed during Ansible runs via Satellite:
5: [WARNING]: Callback disabled by environment. Disabling the Foreman callback 6: plugin.
Resolution
-
Follow the steps in the Diagnostic Steps section of this solution article.
-
If the Diagnostic Steps section matches your case, then the
[WARNING]: Callback disabled by environment. Disabling the Foreman callbackis expected when running arbitrary Ansible playbooks. We only want to get the callback when applying Ansible roles, not when running arbitrary Ansible playbooks.
For more KB articles/solutions related to Red Hat Satellite 6.x Remote Execution Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Remote Execution Issues
Diagnostic Steps
-
Confirm that the
Actions::RemoteExecution::RunHostJobtask reporting the warning was completed successfully. -
In Dynflow console, under the Plan tab of the
Actions::RemoteExecution::RunHostJobtask reporting the warning, confirm that:
job_category: Ansible Playbook
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.