From 7192b6fda4ace2bff6adc1e12904194e4c382b7b Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Tue, 25 May 2021 13:12:54 +0200
Subject: [PATCH] tests/azure: Install community.docker Ansible collection

The test preparation failed with "the connection plugin
'community.docker.docker' was not found" in "Setup test container".

"ansible-galaxy collection install community.docker" has been added
to

  tests/azure/templates/playbook_tests.yml and
  tests/azure/templates/pytest_tests.yml
---
 tests/azure/templates/playbook_tests.yml | 3 +++
 tests/azure/templates/pytest_tests.yml   | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/tests/azure/templates/playbook_tests.yml b/tests/azure/templates/playbook_tests.yml
index 6962fb76..6a8ac787 100644
--- a/tests/azure/templates/playbook_tests.yml
+++ b/tests/azure/templates/playbook_tests.yml
@@ -34,6 +34,9 @@ jobs:
         "ansible${{ parameters.ansible_version }}"
     displayName: Install molecule and Ansible
 
+  - script: |
+      ansible-galaxy collection install community.docker
+
   - script: pip install -r requirements-tests.txt
     displayName: Install dependencies
 
diff --git a/tests/azure/templates/pytest_tests.yml b/tests/azure/templates/pytest_tests.yml
index d4254543..80db74f5 100644
--- a/tests/azure/templates/pytest_tests.yml
+++ b/tests/azure/templates/pytest_tests.yml
@@ -26,6 +26,9 @@ jobs:
         "ansible${{ parameters.ansible_version }}"
     displayName: Install molecule and Ansible
 
+  - script: |
+      ansible-galaxy collection install community.docker
+
   - script: pip install -r requirements-tests.txt
     displayName: Install dependencies
 
-- 
GitLab