reboot_required
Report whether a Linux server needs a reboot by checking the Debian/Ubuntu marker or comparing the running kernel to an installed kernel.
Instructions
Report whether a Linux server is pending a reboot (Debian/Ubuntu reboot-required marker, or a running kernel older than the newest installed one).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | the inventory server name to check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| server | Yes | ||
| status | Yes | ||
| required | Yes | ||
| timestamp | Yes | ||
| newest_kernel | No | ||
| recommendation | No | ||
| running_kernel | Yes |