Problem:
Job execution says it is failing but able to see result of the remote execution.
Expected outcome:
Job completed successfully.
Foreman and Proxy versions:
foreman-3.4
proxy-3.4
Foreman and Proxy plugin versions:
katello-4.6
Distribution and version:
Rocky Linux 8.6
Other relevant data:
Note: I changed ssh user and effective user from root to a new user. I tried executing ‘Run Command’ template. I used the command sudo yum check-update. The job result says job execution failed. But on the job invocation tab, it has results. Can someone help me on this. Thanks.