diff --git a/awx_collection/plugins/modules/tower_workflow_launch.py b/awx_collection/plugins/modules/tower_workflow_launch.py index 0e7d8da75f..6b78e877e2 100644 --- a/awx_collection/plugins/modules/tower_workflow_launch.py +++ b/awx_collection/plugins/modules/tower_workflow_launch.py @@ -128,7 +128,6 @@ def main(): organization = module.params.get('organization') inventory = module.params.get('inventory') optional_args['limit'] = module.params.get('limit') - optional_args['extra_vars'] = module.params.get('extra_vars') wait = module.params.get('wait') interval = module.params.get('interval') timeout = module.params.get('timeout') diff --git a/awx_collection/tests/integration/targets/tower_workflow_launch/tasks/main.yml b/awx_collection/tests/integration/targets/tower_workflow_launch/tasks/main.yml index 9f9c76e2a8..bf88aecf7d 100644 --- a/awx_collection/tests/integration/targets/tower_workflow_launch/tasks/main.yml +++ b/awx_collection/tests/integration/targets/tower_workflow_launch/tasks/main.yml @@ -22,7 +22,6 @@ - name: Connect to Tower server but request an invalid workflow tower_workflow_launch: - validate_certs: false workflow_template: "Does Not Exist" ignore_errors: true register: result @@ -34,7 +33,6 @@ - name: Run the workflow without waiting (this should just give us back a job ID) tower_workflow_launch: - validate_certs: false workflow_template: "{{ wfjt_name1 }}" wait: false ignore_errors: true @@ -47,7 +45,6 @@ - name: Kick off a workflow and wait for it, but only for a second tower_workflow_launch: - validate_certs: false workflow_template: "{{ wfjt_name1 }}" timeout: 1 ignore_errors: true @@ -60,7 +57,6 @@ - name: Kick off a workflow and wait for it tower_workflow_launch: - validate_certs: false workflow_template: "{{ wfjt_name1 }}" ignore_errors: true register: result @@ -78,7 +74,6 @@ - name: Kick off a workflow with extra_vars tower_workflow_launch: - validate_certs: false workflow_template: "{{ wfjt_name1 }}" extra_vars: var1: My First Variable