mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 18:18:12 -03:30
In collection, give changed status in workflow_job_template when destroying nodes (#13928)
This commit is contained in:
@@ -991,6 +991,7 @@ def main():
|
|||||||
# Destroy current nodes if selected.
|
# Destroy current nodes if selected.
|
||||||
if destroy_current_nodes:
|
if destroy_current_nodes:
|
||||||
destroy_workflow_nodes(module, response, workflow_job_template_id)
|
destroy_workflow_nodes(module, response, workflow_job_template_id)
|
||||||
|
module.json_output['changed'] = True
|
||||||
|
|
||||||
# Work thorugh and lookup value for schema fields
|
# Work thorugh and lookup value for schema fields
|
||||||
if workflow_nodes:
|
if workflow_nodes:
|
||||||
|
|||||||
Reference in New Issue
Block a user