Project

General

Custom queries

Profile

Actions

Bug #24163

closed

Ansible Power template does not do anything

Added by Daniel Lobato Garcia almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Fixed in Releases:
Found in Releases:

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

Revision fc376b87 (diff)

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.

Added by Daniel Lobato García over 6 years ago

Revision d54df949 (diff)

Refs #24163 - shutdown with 1m delay so callback can return (#189)

Actions

Also available in: Atom PDF