Merge "Use list_concat_unique instead of yaql"
This commit is contained in:
commit
b104f039af
|
@ -274,10 +274,7 @@ resources:
|
|||
properties:
|
||||
type: comma_delimited_list
|
||||
value:
|
||||
yaql:
|
||||
# processing from per-role unique tasks into globally unique tasks
|
||||
expression: coalesce($.data, []).flatten().distinct()
|
||||
data:
|
||||
list_concat_unique:
|
||||
{%- for role in enabled_roles %}
|
||||
- get_param: [role_data, {{role.name}}, external_deploy_tasks]
|
||||
{%- endfor %}
|
||||
|
@ -287,10 +284,7 @@ resources:
|
|||
properties:
|
||||
type: comma_delimited_list
|
||||
value:
|
||||
yaql:
|
||||
# processing from per-role unique tasks into globally unique tasks
|
||||
expression: coalesce($.data, []).flatten().distinct()
|
||||
data:
|
||||
list_concat_unique:
|
||||
{%- for role in enabled_roles %}
|
||||
- get_param: [role_data, {{role.name}}, external_post_deploy_tasks]
|
||||
{%- endfor %}
|
||||
|
@ -300,10 +294,7 @@ resources:
|
|||
properties:
|
||||
type: comma_delimited_list
|
||||
value:
|
||||
yaql:
|
||||
# processing from per-role unique tasks into globally unique tasks
|
||||
expression: coalesce($.data, []).flatten().distinct()
|
||||
data:
|
||||
list_concat_unique:
|
||||
{%- for role in enabled_roles %}
|
||||
- get_param: [role_data, {{role.name}}, scale_tasks]
|
||||
{%- endfor %}
|
||||
|
@ -313,10 +304,7 @@ resources:
|
|||
properties:
|
||||
type: comma_delimited_list
|
||||
value:
|
||||
yaql:
|
||||
# processing from per-role unique tasks into globally unique tasks
|
||||
expression: coalesce($.data, []).flatten().distinct()
|
||||
data:
|
||||
list_concat_unique:
|
||||
{%- for role in enabled_roles %}
|
||||
- get_param: [role_data, {{role.name}}, external_update_tasks]
|
||||
{%- endfor %}
|
||||
|
@ -326,10 +314,7 @@ resources:
|
|||
properties:
|
||||
type: comma_delimited_list
|
||||
value:
|
||||
yaql:
|
||||
# processing from per-role unique tasks into globally unique tasks
|
||||
expression: coalesce($.data, []).flatten().distinct()
|
||||
data:
|
||||
list_concat_unique:
|
||||
{%- for role in enabled_roles %}
|
||||
- get_param: [role_data, {{role.name}}, external_upgrade_tasks]
|
||||
{%- endfor %}
|
||||
|
|
Loading…
Reference in New Issue