Bug #38140
closedJob: Resolve Traces - Katello Ansible Default - fails to reboot machine
Description
After applying errata that include a kernel update, i want to reboot the machine via the traces UI and select all traces. This changes the button from "Restart app" to "Reboot host", i click the button and it runs the "Resolve Traces - Katello Ansible Default" job. Ansible then fails to reboot the host.
```
ERROR! 'reboot' is not a valid attribute for a Play
The error appears to be in '/tmp/d20250115-157201-nu0y9u/project/playbook.yml': line 1, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- reboot:
^ here
```
The template is currently rather hardcoded, it should defer the reboot implementation to the "Power Action - Ansible Default" template.
Updated by The Foreman Bot about 1 month ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11276 added
Updated by The Foreman Bot about 1 month ago
- Fixed in Releases Katello 4.16.0 added
Updated by Lucas souza about 1 month ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|c988a004a54587ef615b2593741afae28ef8897b.