Actions
Bug #38140
openJob: 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.
Actions