Fix join examples and text
The 'join' example for using a number did not have a proper workflow. It looks like it was copied from the 'all' example and not completely changed. Also, disambiguate the wording of the description for that example. It used the word 'once' in a place where it looked as though it meant 'one time' instead of 'as soon as'. Change-Id: I9b89768c0f0b7d325db08ea9345965a9263a64c8 Closes-Bug: #1761827
This commit is contained in:
parent
54fe5b0109
commit
7657458e61
@ -769,24 +769,24 @@ Partial Join (join: 2)
|
||||
register_vm_in_load_balancer:
|
||||
...
|
||||
on-success:
|
||||
- wait_for_all_registrations
|
||||
- wait_for_two_registrations
|
||||
|
||||
register_vm_in_dns:
|
||||
...
|
||||
on-success:
|
||||
- wait_for_all_registrations
|
||||
- wait_for_two_registrations
|
||||
|
||||
register_vm_in_zabbix:
|
||||
...
|
||||
on-success:
|
||||
- wait_for_all_registrations
|
||||
- wait_for_two_registrations
|
||||
|
||||
wait_for_two_registrations:
|
||||
join: 2
|
||||
action: send_email
|
||||
|
||||
When a task has property "join" assigned with a numeric value then the task
|
||||
will run once at least this number of upstream tasks are completed and
|
||||
will run when at least this number of upstream tasks are completed and
|
||||
corresponding conditions have triggered. In the example above task
|
||||
"wait_for_two_registrations" will run if two any of
|
||||
"register_vm_xxx" tasks complete.
|
||||
|
Loading…
Reference in New Issue
Block a user