Jesse Pretorius 9b0f2b5dbd MNAIO: Ensure VM's are shut down before doing image save
When the virt module returns success for the shutdown state, it
has only sucessfully sent the signal to shut down. It may still
take a few more minutes for the VM's to actually complete their
shut down. If we try to change the image while the machine is
still busy shutting down, the image conversion/compression fails
and the resulting state is incomplete.

In this patch we do the following:

1. Find and shut down the running VM's without needing to look
   at the inventory. This reduces complexity in the play.
2. Makes sure that the VM's are all in the 'shut off' state,
   before continuing on to saving the images.

Change-Id: Icf337447f7a9b4033af261910f77216a170937ed
2018-09-27 18:05:47 +01:00
..
2018-09-26 14:51:00 +01:00
2018-09-20 12:10:18 +01:00
2018-09-17 09:26:31 -05:00
2018-09-19 10:52:32 -05:00
2018-09-11 20:17:24 +00:00