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 459ac813cb..e32ea4586c 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 @@ -6,7 +6,12 @@ - name: Generate names set_fact: - wfjt_name1: "AWX-Collection-tests-tower_workflow_launch--wfjt1-{{ test_id }}" + wfjt_name1: "Testing Workflow Job Launch" # "AWX-Collection-tests-tower_workflow_launch--wfjt1-{{ test_id }}" + +- name: Clean up test workflow from any previous runs + tower_workflow_job_template: + name: "{{ wfjt_name1 }}" + state: absent - name: Create our workflow tower_workflow_job_template: @@ -69,9 +74,3 @@ that: - result is not failed - "'id' in result['job_info']" - -- name: Clean up test workflow - tower_workflow_job_template: - name: "{{ wfjt_name1 }}" - state: absent -