1
0
mirror of https://github.com/gryf/mistral-evacuate.git synced 2026-02-07 08:45:48 +01:00

Fix workflow, so it can get on_shared_storage value from input

Signed-off-by: Dawid Deja <dawid.deja@intel.com>
This commit is contained in:
Dawid Deja
2016-02-03 10:51:41 +01:00
parent 3cbda22ef4
commit d29e2d2f9e
2 changed files with 6 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ host-evacuate:
input:
- search_opts
- on_shared_storage
tasks:
list_vms:
@@ -24,4 +25,4 @@ host-evacuate:
evacuate_vms:
with-items: vm in <% $.filtered_vms %>
action: custom.evacuate uuid=<% $.vm.uuid %> evacuate=<% $.vm.evacuate %> on_shared_storage=false
action: custom.evacuate uuid=<% $.vm.uuid %> evacuate=<% $.vm.evacuate %> on_shared_storage=<% $.on_shared_storage %>

4
input.json Normal file
View File

@@ -0,0 +1,4 @@
{
"search_opts": {"host": "compute1"},
"on_shared_storage": false
}