From 14c8af94bdde39635f1dfc750f7127cc718065aa Mon Sep 17 00:00:00 2001 From: adonisgarciac <71078987+adonisgarciac@users.noreply.github.com> Date: Tue, 13 Aug 2024 07:02:43 -0400 Subject: [PATCH] add extra_data to simplified_workflow_nodes in filetree_create role (#894) * add extra_data to simplified_workflow_nodes in filetree_create role * lint --- .../templates/current_workflow_job_templates.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/filetree_create/templates/current_workflow_job_templates.j2 b/roles/filetree_create/templates/current_workflow_job_templates.j2 index 1d053ab05..8b82e9df4 100644 --- a/roles/filetree_create/templates/current_workflow_job_templates.j2 +++ b/roles/filetree_create/templates/current_workflow_job_templates.j2 @@ -19,6 +19,10 @@ controller_workflows: {% endif %} organization: "{{ current_workflow_job_templates_asset_value.summary_fields.organization.name | default(organization if organization != 'ORGANIZATIONLESS' else 'ToDo: The WF \'' + current_workflow_job_templates_asset_value.name + '\' must belong to an organization') }}" all_parents_must_converge: "{{ node.all_parents_must_converge }}" +{% if node.extra_data is defined and node.extra_data | length > 0 %} + extra_data: + {{ node.extra_data | to_nice_yaml | indent(10) | replace("'{{", "!unsafe \'{{") }} +{%- endif %} {% if node.success_nodes is defined and node.success_nodes | length > 0 %} success_nodes: {% for success in node.success_nodes %}