From 277ff2adf1431b4190b2bec392e112f3932f8236 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Wed, 4 Oct 2023 19:36:01 +1100 Subject: [PATCH] fix task playbook refs --- tests/tests/tasks/create-and-register-task.yaml | 2 +- tests/tests/tasks/create-register-and-test-image-task.yaml | 2 +- tests/tests/tasks/post-api-register-task-command.yaml | 2 +- tests/tests/tasks/post-api-register-task.yaml | 2 +- tests/tests/workflows/create-and-register-task.yaml | 4 ++-- tests/tests/workflows/post-api-delete-workflow.yaml | 2 +- tests/tests/workflows/post-api-register-task-command.yaml | 2 +- tests/tests/workflows/post-api-register-workflow.yaml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/tests/tasks/create-and-register-task.yaml b/tests/tests/tasks/create-and-register-task.yaml index b5150034ed..c2cc1fa38c 100644 --- a/tests/tests/tasks/create-and-register-task.yaml +++ b/tests/tests/tasks/create-and-register-task.yaml @@ -17,7 +17,7 @@ - name: "{{ testname }} - environmentByOSProjectNameApiResponse" debug: msg: "api response: {{ environmentByOSProjectNameApiResponse.json.data.environmentByOpenshiftProjectName.id }}" - - ansible.builtin.import_playbook: ./post-api-register-task-command.yaml + - ansible.builtin.include_tasks: ./post-api-register-task-command.yaml - name: "{{ testname }} - DEBUG taskCreateApiResponse" debug: msg: "api response: {{ taskCreateApiResponse }}" diff --git a/tests/tests/tasks/create-register-and-test-image-task.yaml b/tests/tests/tasks/create-register-and-test-image-task.yaml index 8a4baa330e..cca9e528ee 100644 --- a/tests/tests/tasks/create-register-and-test-image-task.yaml +++ b/tests/tests/tasks/create-register-and-test-image-task.yaml @@ -17,7 +17,7 @@ - name: "{{ testname }} - environmentByOSProjectNameApiResponse" debug: msg: "api response: {{ environmentByOSProjectNameApiResponse.json.data.environmentByOpenshiftProjectName.id }}" - - ansible.builtin.import_playbook: ./post-api-register-task.yaml + - ansible.builtin.include_tasks: ./post-api-register-task.yaml - name: "{{ testname }} - DEBUG taskCreateApiResponse" debug: msg: "api response: {{ taskCreateApiResponse }}" diff --git a/tests/tests/tasks/post-api-register-task-command.yaml b/tests/tests/tasks/post-api-register-task-command.yaml index aebc51ba61..7538083258 100644 --- a/tests/tests/tasks/post-api-register-task-command.yaml +++ b/tests/tests/tasks/post-api-register-task-command.yaml @@ -26,4 +26,4 @@ - debug: msg: "Failed to connect - Retrying..." - - include_tasks: ./post-api-register-task-command.yaml + - ansible.builtin.include_tasks: ./post-api-register-task-command.yaml diff --git a/tests/tests/tasks/post-api-register-task.yaml b/tests/tests/tasks/post-api-register-task.yaml index d69bf28bcb..d0253996a8 100644 --- a/tests/tests/tasks/post-api-register-task.yaml +++ b/tests/tests/tasks/post-api-register-task.yaml @@ -26,4 +26,4 @@ - debug: msg: "Failed to connect - Retrying..." - - include_tasks: ./post-api-register-task.yaml + - ansible.builtin.include_tasks: ./post-api-register-task.yaml diff --git a/tests/tests/workflows/create-and-register-task.yaml b/tests/tests/workflows/create-and-register-task.yaml index 4f83081246..ad10fb080f 100644 --- a/tests/tests/workflows/create-and-register-task.yaml +++ b/tests/tests/workflows/create-and-register-task.yaml @@ -20,7 +20,7 @@ - name: "{{ testname }} - environmentByOSProjectNameApiResponse" debug: msg: "api response: {{ environmentByOSProjectNameApiResponse }}" - - ansible.builtin.import_playbook: ./post-api-register-task-command.yaml + - ansible.builtin.include_tasks: ./post-api-register-task-command.yaml - name: "{{ testname }} - DEBUG taskCreateApiResponse" debug: msg: "api response: {{ taskCreateApiResponse }}" @@ -40,7 +40,7 @@ - name: "{{ testname }} - projectByNameResponse" debug: msg: "api response: {{ projectByNameResponse.json.data.projectByName.id }}" - - ansible.builtin.import_playbook: ./post-api-register-workflow.yaml + - ansible.builtin.include_tasks: ./post-api-register-workflow.yaml - name: "{{ testname }} - DEBUG taskCreateApiResponse" debug: msg: "api response: {{ taskCreateApiResponse }}" diff --git a/tests/tests/workflows/post-api-delete-workflow.yaml b/tests/tests/workflows/post-api-delete-workflow.yaml index f080e615ff..7de7ad7193 100644 --- a/tests/tests/workflows/post-api-delete-workflow.yaml +++ b/tests/tests/workflows/post-api-delete-workflow.yaml @@ -31,4 +31,4 @@ - debug: msg: "Failed to connect - Retrying..." - - include_tasks: ./post-api-delete-workflow.yaml + - ansible.builtin.include_tasks: ./post-api-delete-workflow.yaml diff --git a/tests/tests/workflows/post-api-register-task-command.yaml b/tests/tests/workflows/post-api-register-task-command.yaml index 648a3cac82..37b5717a35 100644 --- a/tests/tests/workflows/post-api-register-task-command.yaml +++ b/tests/tests/workflows/post-api-register-task-command.yaml @@ -26,4 +26,4 @@ - debug: msg: "Failed to connect - Retrying..." - - include_tasks: ./post-api-register-task-command.yaml + - ansible.builtin.include_tasks: ./post-api-register-task-command.yaml diff --git a/tests/tests/workflows/post-api-register-workflow.yaml b/tests/tests/workflows/post-api-register-workflow.yaml index 4b8e7558b9..b6ea422740 100644 --- a/tests/tests/workflows/post-api-register-workflow.yaml +++ b/tests/tests/workflows/post-api-register-workflow.yaml @@ -31,4 +31,4 @@ - debug: msg: "Failed to connect - Retrying..." - - include_tasks: ./post-api-register-workflow.yaml + - ansible.builtin.include_tasks: ./post-api-register-workflow.yaml