mirror of
https://github.com/gryf/mistral-evacuate.git
synced 2026-02-17 14:45:56 +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:
@@ -7,6 +7,7 @@ host-evacuate:
|
|||||||
|
|
||||||
input:
|
input:
|
||||||
- search_opts
|
- search_opts
|
||||||
|
- on_shared_storage
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
list_vms:
|
list_vms:
|
||||||
@@ -24,4 +25,4 @@ host-evacuate:
|
|||||||
|
|
||||||
evacuate_vms:
|
evacuate_vms:
|
||||||
with-items: vm in <% $.filtered_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
4
input.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"search_opts": {"host": "compute1"},
|
||||||
|
"on_shared_storage": false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user