You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For CentOS/RHEL systems, needs-restarting of the yum-utils package is used to evaluate if the system needs to be rebooted. However, at this stage, updates were already launched. I think it would be useful to check first and only launch the update task if needs-restarting is available, as the normal plan workflow will not attempt reboot if there's no updates to install.
The error in question:
...
Starting: task patching::reboot_required on 192.168.58.129
Finished: task patching::reboot_required with 1 failure in 1.59 sec
Finished: plan patching::reboot_required in 1.64 sec
Finished: plan test_patching in 4 min, 58 sec
Failed on 192.168.58.129:
The task failed with exit code 4:
ERROR - /usr/bin/needs-restarting isn't present on a RedHat/CentOS host. You probably need to install the package: yum-utils
Failed on 1 target: 192.168.58.129
If I then try a rerun:
...
Starting: task patching::update_history on 192.168.58.129
Finished: task patching::update_history with 0 failures in 0.66 sec
host | upgraded | installed
-----------------------------------------------------
192.168.58.129 | 150 | 0
Finished: plan patching::update_history in 0.75 sec
Finished: plan test_patching in 5.19 sec
Plan completed successfully with no result
Any thoughts on this?
Regards.
The text was updated successfully, but these errors were encountered:
Hi,
For CentOS/RHEL systems, needs-restarting of the yum-utils package is used to evaluate if the system needs to be rebooted. However, at this stage, updates were already launched. I think it would be useful to check first and only launch the update task if needs-restarting is available, as the normal plan workflow will not attempt reboot if there's no updates to install.
The error in question:
If I then try a rerun:
Any thoughts on this?
Regards.
The text was updated successfully, but these errors were encountered: