From bf4f2de7863f51f896b2445cb5eba47c8649be43 Mon Sep 17 00:00:00 2001 From: Satoe Imaishi Date: Tue, 3 Dec 2019 11:13:16 -0500 Subject: [PATCH] Revert "Merge pull request #567 from fdupont-redhat/v2v_state_machine_remove_pre_migration_ansible_playbook" This reverts commit 26def1da17f6609d95c10ee4a89bcf70b29c9c0e. https://bugzilla.redhat.com/show_bug.cgi?id=1767638 --- .../VMTransformation.class/pretransform.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/pretransform.yaml b/content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/pretransform.yaml index 0e123b2b6..48ce84e0c 100644 --- a/content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/pretransform.yaml +++ b/content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/pretransform.yaml @@ -8,6 +8,14 @@ object: inherits: description: fields: + - State2: + value: "/Transformation/StateMachines/Ansible/TransformationPlaybook?transformation_hook=pre" + on_entry: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 30, description => + "Run pre-migration playbook") + on_exit: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 30, description => + "Run pre-migration playbook") + on_error: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 30, description => + "Run pre-migration playbook") - State5: value: "/Transformation/Infrastructure/VM/Common/PowerOff" on_entry: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 40, description