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