]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Update ansible to 4.2.10 ansible-4-2 1755/head
authorZack Cerza <zack@cerza.org>
Thu, 28 Apr 2022 22:35:21 +0000 (16:35 -0600)
committerZack Cerza <zack@cerza.org>
Fri, 29 Apr 2022 16:15:19 +0000 (10:15 -0600)
To fix https://github.com/advisories/GHSA-2pfh-q76x-gwvm

Signed-off-by: Zack Cerza <zack@redhat.com>
bootstrap
requirements.txt
setup.cfg

index 4150b7ddcbd62c3208e563688339d1154fd9373d..f9c65001e7a5fd1f165c7ae5084de19c4a409e10 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -156,7 +156,7 @@ fi
 # See https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.10.html#known-issues
 if [ -f "$VENV/bin/ansible" ]; then
     ansible_version=$($VENV/bin/pip list --format json | python3 -c "import sys; import json; print(list(filter(lambda i: i['name'] == 'ansible', json.loads(sys.stdin.read())))[0]['version'])")
-    uninstall_ansible=$(./$VENV/bin/python3 -c "from packaging.version import parse; print(parse('$ansible_version') < parse('2.10.0'))")
+    uninstall_ansible=$(./$VENV/bin/python3 -c "from packaging.version import parse; print(parse('$ansible_version') < parse('4.2.0'))")
     if [ "$uninstall_ansible" = "True" ]; then
         ./$VENV/bin/pip uninstall -y ansible ansible-base ansible-core
     fi
index 1f82d1c4a4b3084a1aa86a21496afba031a1ceba..735d64e4d35564939c5881d0d23210f281fb04a2 100644 (file)
@@ -4,9 +4,9 @@
 #
 #    pip-compile --extra=test pyproject.toml
 #
-ansible==2.10.7
+ansible==4.10.0
     # via teuthology (pyproject.toml)
-ansible-base==2.10.17
+ansible-core==2.11.11
     # via ansible
 apache-libcloud==3.3.1
     # via teuthology (pyproject.toml)
@@ -59,7 +59,7 @@ configparser==5.0.2
     # via teuthology (pyproject.toml)
 cryptography==3.4.7
     # via
-    #   ansible-base
+    #   ansible-core
     #   openstacksdk
     #   paramiko
     #   pyopenssl
@@ -122,7 +122,7 @@ iso8601==0.1.16
     #   python-novaclient
     #   python-openstackclient
 jinja2==3.0.1
-    # via ansible-base
+    # via ansible-core
 jmespath==0.10.0
     # via
     #   boto3
@@ -195,7 +195,7 @@ oslo.utils==4.12.2
     #   python-openstackclient
 packaging==21.0
     # via
-    #   ansible-base
+    #   ansible-core
     #   oslo.utils
     #   pytest
     #   tox
@@ -289,7 +289,7 @@ pytz==2021.1
     #   oslo.utils
 pyyaml==5.4.1
     # via
-    #   ansible-base
+    #   ansible-core
     #   cliff
     #   openstacksdk
     #   oslo.config
@@ -304,6 +304,8 @@ requests==2.27.1
     #   teuthology (pyproject.toml)
 requestsexceptions==1.4.0
     # via openstacksdk
+resolvelib==0.5.4
+    # via ansible-core
 rfc3986==1.5.0
     # via oslo.config
 s3transfer==0.5.2
index 05737a641d8e3940cf3f136b43b05609455f4494..d8332e9b525d25e57c3eee850b267f10f1528761 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -32,7 +32,7 @@ summary = Ceph test framework
 packages = find:
 install_requires =
     PyYAML
-    ansible>=2.10,<3.0
+    ansible>=4.2.0
     apache-libcloud
     argparse>=1.2.1
     backports.ssl-match-hostname