From b07a6695765d35b1290f2fe91fff1580a50c31c3 Mon Sep 17 00:00:00 2001 From: przemkalit Date: Wed, 8 Jan 2025 11:02:51 +0100 Subject: [PATCH] fix: missing verbosity for WF node (#53) Co-authored-by: Przemyslaw Kalitowski --- changelogs/fragments/filetree_create_node_verbosity_issue.yml | 4 ++++ .../templates/controller_workflow_job_templates.j2 | 1 + 2 files changed, 5 insertions(+) create mode 100644 changelogs/fragments/filetree_create_node_verbosity_issue.yml diff --git a/changelogs/fragments/filetree_create_node_verbosity_issue.yml b/changelogs/fragments/filetree_create_node_verbosity_issue.yml new file mode 100644 index 00000000..7ecc79a9 --- /dev/null +++ b/changelogs/fragments/filetree_create_node_verbosity_issue.yml @@ -0,0 +1,4 @@ +--- +bugfixes: + - filetree_create export missing verbosity for node +... diff --git a/roles/filetree_create/templates/controller_workflow_job_templates.j2 b/roles/filetree_create/templates/controller_workflow_job_templates.j2 index 1869e8b0..e3c4e89a 100644 --- a/roles/filetree_create/templates/controller_workflow_job_templates.j2 +++ b/roles/filetree_create/templates/controller_workflow_job_templates.j2 @@ -22,6 +22,7 @@ controller_workflows: workflow_job_template: "{{ node.summary_fields.workflow_job_template.name }}" {% if node.summary_fields.unified_job_template.unified_job_type is not match('approval') %} unified_job_template: "{{ node.summary_fields.unified_job_template.name | default('ToDo: The node is pointing to a deleted Job Template') }}" + verbosity: "{{ node.verbosity if node.verbosity != None else '0' }}" {% endif %} {% if node.limit is defined %} limit: "{{ node.limit }}"