From 9e4488bc8676d8fbacdfef853376f1b207d1afba Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Wed, 26 Jun 2024 15:20:38 +0000 Subject: [PATCH] FIXUP: fix task execution order. --- tests/azure/templates/playbook_fast.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/azure/templates/playbook_fast.yml b/tests/azure/templates/playbook_fast.yml index 0090a4ec42..476388386d 100644 --- a/tests/azure/templates/playbook_fast.yml +++ b/tests/azure/templates/playbook_fast.yml @@ -35,14 +35,6 @@ jobs: retryCountOnTaskFailure: 5 displayName: Install Ansible - - script: ansible-galaxy collection install containers.podman ansible.posix - retryCountOnTaskFailure: 5 - displayName: Install Ansible collections - - - script: pip install -r requirements-tests.txt - retryCountOnTaskFailure: 5 - displayName: Install dependencies - - script: | rm -rf ~/.ansible mkdir -p ~/.ansible/roles ~/.ansible/library ~/.ansible/module_utils @@ -50,7 +42,15 @@ jobs: cp -a plugins/modules/* ~/.ansible/library cp -a plugins/module_utils/* ~/.ansible/module_utils retryCountOnTaskFailure: 5 - displayName: Setup controller environme + displayName: Setup controller environment + + - script: ansible-galaxy collection install containers.podman ansible.posix + retryCountOnTaskFailure: 5 + displayName: Install Ansible collections + + - script: pip install -r requirements-tests.txt + retryCountOnTaskFailure: 5 + displayName: Install dependencies - script: | utils/setup_test_container.sh -e podman -i ${{ parameters.scenario }} ${{ parameters.scenario }}