From d3de884baf034f8cdcd06de6567dbdbd5e7c8b22 Mon Sep 17 00:00:00 2001 From: Sean Sullivan Date: Wed, 21 Jun 2023 15:17:53 -0400 Subject: [PATCH] In collection, give changed status in workflow_job_template when destroying nodes (#13928) --- awx_collection/plugins/modules/workflow_job_template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx_collection/plugins/modules/workflow_job_template.py b/awx_collection/plugins/modules/workflow_job_template.py index 27748ed988..aa0edb1d01 100644 --- a/awx_collection/plugins/modules/workflow_job_template.py +++ b/awx_collection/plugins/modules/workflow_job_template.py @@ -991,6 +991,7 @@ def main(): # Destroy current nodes if selected. if destroy_current_nodes: destroy_workflow_nodes(module, response, workflow_job_template_id) + module.json_output['changed'] = True # Work thorugh and lookup value for schema fields if workflow_nodes: