summaryrefslogtreecommitdiff
path: root/zuul
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-09-07 22:37:20 +0000
committerGerrit Code Review <review@openstack.org>2022-09-07 22:37:20 +0000
commit2d986f8566000c53eae111fc82aebccd2c0e79b1 (patch)
treec4705612600cdfd5cb88e9b8ed9f294fb2ebcd7d /zuul
parent9302e576820edfadaedc04b2e4597ae2a67894a2 (diff)
parentad03402dece90c843e16b7d24d2a90c242ff66bd (diff)
downloadzuul-2d986f8566000c53eae111fc82aebccd2c0e79b1.tar.gz
Merge "Deprecate Ansible 2, make Ansible 5 default"
Diffstat (limited to 'zuul')
-rw-r--r--zuul/lib/ansible-config.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/zuul/lib/ansible-config.conf b/zuul/lib/ansible-config.conf
index 5bc3bd325..9fdc905b9 100644
--- a/zuul/lib/ansible-config.conf
+++ b/zuul/lib/ansible-config.conf
@@ -1,6 +1,6 @@
# This file describes the currently supported ansible versions
[common]
-default_version = 2.9
+default_version = 5
# OpenStackSDK 0.99.0 coincides with CORS header problems in some providers
requirements = openstacksdk<0.99 openshift jmespath google-cloud-storage pywinrm boto3 azure-storage-blob ibm-cos-sdk netaddr passlib
@@ -8,11 +8,13 @@ requirements = openstacksdk<0.99 openshift jmespath google-cloud-storage pywinrm
# Ansible 2.8.16 breaks the k8s connection plugin
# Jinja 3.1.1 is incompatible with 2.8
requirements = ansible>=2.8,<2.9,!=2.8.16 Jinja2<3.1.0
+deprecated = true
[2.9]
# Ansible 2.9.14 breaks the k8s connection plugin
# https://github.com/ansible/ansible/issues/72171
requirements = ansible>=2.9,<2.10,!=2.9.14
+deprecated = true
[5]
requirements = ansible>=5.0,<6.0