Actions
Bug #24163
closedAnsible Power template does not do anything
Difficulty:
Triaged:
No
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1593772
Description of problem:
With both "restart" and "shutdown" action Ansible Power job succeeds however no action was really taken.
How reproducible:
deterministic
Steps to Reproduce:
1. Schedule Ansible Power job for a host (any action: restart, shutdown)
2. Check if restart/shutdown was performed
Actual results:
no action performed
Expected results:
host reboots/shuts down
Added by Daniel Lobato García almost 7 years ago
Added by Daniel Lobato García over 6 years ago
Actions
Fixes #24163 - Power Action does not do anything (#183)
The playbook first runs 'echo' of 'shutdown host' - that fails because
that returns -1 'Failed to parse time specification:' ('host' is not a
valid time specification)
I don't find much of an use for that line, so the template currently
just runs the action and works.