Skip to content

Commit

Permalink
Merge pull request #370 from fdupont-redhat/v2v_fix_playbook_hook_pas…
Browse files Browse the repository at this point in the history
…sing

Fix hook string passing for pre/post-migration playbooks
  • Loading branch information
gmcculloug committed Jul 24, 2018
2 parents ac447a3 + aa93f27 commit 54eb45d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ object:
description:
fields:
- State2:
value: "/Transformation/Ansible/LaunchPlaybookAsAService"
value: "/Transformation/Ansible/LaunchPlaybookAsAService?transformation_hook=${#transformation_hook}"
on_entry: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 20, description
=> "Launch ${#transformation_hook} migration playbook", task_message => "Migrating")
on_exit: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 20, description
=> "Launch ${#transformation_hook} migration playbook", task_message => "Migrating")
on_error: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 20, description
=> "Launch ${#transformation_hook} migration playbook", task_message => "Migrating")
- State5:
value: "/Transformation/Ansible/CheckPlaybookAsAService"
value: "/Transformation/Ansible/CheckPlaybookAsAService?transformation_hook=${#transformation_hook}"
on_entry: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 80, description
=> "Check ${#transformation_hook} migration playbook", task_message => "Migrating")
on_exit: /System/CommonMethods/MiqAe.WeightedUpdateStatus(weight => 80, description
Expand Down

0 comments on commit 54eb45d

Please sign in to comment.