From 6c1ba0323523d1045e6fc7e49d7660fd09c32fc9 Mon Sep 17 00:00:00 2001 From: Jeff Bradberry Date: Mon, 14 Jun 2021 15:03:01 -0400 Subject: [PATCH] Remove EE from the workflow job template collection module --- awx_collection/plugins/modules/workflow_job_template.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/awx_collection/plugins/modules/workflow_job_template.py b/awx_collection/plugins/modules/workflow_job_template.py index 8a4c5d75ec..7fc6b66cca 100644 --- a/awx_collection/plugins/modules/workflow_job_template.py +++ b/awx_collection/plugins/modules/workflow_job_template.py @@ -47,10 +47,6 @@ options: description: - Variables which will be made available to jobs ran inside the workflow. type: dict - execution_environment: - description: - - Execution Environment to use for the WFJT. - type: str organization: description: - Organization the workflow job template exists in. @@ -666,7 +662,6 @@ def main(): description=dict(), extra_vars=dict(type='dict'), organization=dict(), - execution_environment=dict(), survey_spec=dict(type='dict', aliases=['survey']), survey_enabled=dict(type='bool'), allow_simultaneous=dict(type='bool'), @@ -713,10 +708,6 @@ def main(): organization_id = module.resolve_name_to_id('organizations', organization) search_fields['organization'] = new_fields['organization'] = organization_id - ee = module.params.get('execution_environment') - if ee: - new_fields['execution_environment'] = module.resolve_name_to_id('execution_environments', ee) - # Attempt to look up an existing item based on the provided data existing_item = module.get_one('workflow_job_templates', name_or_id=name, **{'data': search_fields})