From 1a5c62fe9c3e7d79356207d084829266cd7757cf Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Fri, 2 Dec 2022 16:26:21 +0100
Subject: [PATCH] tests/azure: Temporarily stay at Ubuntu 20.04

Github has been migrating ubuntu-latest from 20.04 to 22.04. 22.04 comes
with cgroups version 2.

No tests are run at the momens as the setup of the test container always
fails with "Failed to create temporary directory" for gathering facts.

See also:

https://github.com/ansible-collections/news-for-maintainers/issues/28
---
 tests/azure/azure-pipelines.yml | 2 +-
 tests/azure/nightly.yml         | 2 +-
 tests/azure/pr-pipeline.yml     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/azure/azure-pipelines.yml b/tests/azure/azure-pipelines.yml
index 8c86ce14..5d6c4ae4 100644
--- a/tests/azure/azure-pipelines.yml
+++ b/tests/azure/azure-pipelines.yml
@@ -3,7 +3,7 @@ trigger:
 - master
 
 pool:
-  vmImage: 'ubuntu-latest'
+  vmImage: 'ubuntu-20.04'
 
 stages:
 
diff --git a/tests/azure/nightly.yml b/tests/azure/nightly.yml
index dc5f758a..e1a7cecf 100644
--- a/tests/azure/nightly.yml
+++ b/tests/azure/nightly.yml
@@ -10,7 +10,7 @@ schedules:
 trigger: none
 
 pool:
-  vmImage: 'ubuntu-latest'
+  vmImage: 'ubuntu-20.04'
 
 stages:
 
diff --git a/tests/azure/pr-pipeline.yml b/tests/azure/pr-pipeline.yml
index 0ca82912..8394deb7 100644
--- a/tests/azure/pr-pipeline.yml
+++ b/tests/azure/pr-pipeline.yml
@@ -3,7 +3,7 @@ trigger:
 - master
 
 pool:
-  vmImage: 'ubuntu-latest'
+  vmImage: 'ubuntu-20.04'
 
 stages:
 
-- 
GitLab