diff --git a/awx_collection/plugins/modules/tower_job_template.py b/awx_collection/plugins/modules/tower_job_template.py index dd149ec742..4dc525e3b6 100644 --- a/awx_collection/plugins/modules/tower_job_template.py +++ b/awx_collection/plugins/modules/tower_job_template.py @@ -484,7 +484,7 @@ def main(): # Code to use once Issue #7567 is resolved # search_fields = {'name': item} # if organization: -# search_fields['organization'] = organization_id +# search_fields['organization'] = organization_id # label_id = module.get_one('labels', **{'data': search_fields}) # association_fields['labels'].append(label_id) diff --git a/awx_collection/plugins/modules/tower_workflow_job_template.py b/awx_collection/plugins/modules/tower_workflow_job_template.py index 54ab6dbf9b..2dce4802ea 100644 --- a/awx_collection/plugins/modules/tower_workflow_job_template.py +++ b/awx_collection/plugins/modules/tower_workflow_job_template.py @@ -261,7 +261,7 @@ def main(): # Code to use once Issue #7567 is resolved # search_fields = {'name': item} # if organization: -# search_fields['organization'] = organization_id +# search_fields['organization'] = organization_id # label_id = module.get_one('labels', **{'data': search_fields}) # association_fields['labels'].append(label_id)