Tag workflows created by the templates

This is useful to easily filter workflows created by the templates
and for a specific stack.

Change-Id: I0a26cacaf5ad5709881043434694c9254a9e710b
Related-Bug: #1715389
This commit is contained in:
Giulio Fidente 2017-09-07 09:13:04 +02:00 committed by Emilien Macchi
parent 60f3f10442
commit a7a02f0da8
1 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,9 @@ resources:
properties:
name: {list_join: [".", ["tripleo", {get_param: stack_name}, "workflowtasks", "step{{step}}"]]}
type: direct
tags:
- tripleo-heat-templates-managed
- {get_param: stack_name}
tasks:
yaql:
expression: $.data.where($ != '').select($.get('step{{step}}')).where($ != null).flatten()