From dc946330112e71a1b3ff9952e416ed5f912b29de Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 6 Sep 2020 14:32:56 -0700 Subject: [PATCH] ansible_install.py already installs ansible and collections, so don't need to in ansible_tests.py --- .ci/ansible_tests.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.ci/ansible_tests.py b/.ci/ansible_tests.py index 77541d16..574778a1 100755 --- a/.ci/ansible_tests.py +++ b/.ci/ansible_tests.py @@ -37,15 +37,6 @@ with ci_lib.Fold('docker_setup'): with ci_lib.Fold('job_setup'): - # Don't set -U as that will upgrade Paramiko to a non-2.6 compatible version. - # run("pip install -q ansible==%s", ci_lib.ANSIBLE_VERSION) - # ansible v2.10 isn't out yet so we're installing from github for now - # encoding is required for installing ansible 2.10 with pip2, otherwise we get a UnicodeDecode error - run('LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 pip install -q {}'.format(ci_lib.ANSIBLE_VERSION)) - - # after ansible is installed, install common collections until ansible==2.10 comes out - run('ansible-galaxy collection install community.general') - os.chdir(TESTS_DIR) os.chmod('../data/docker/mitogen__has_sudo_pubkey.key', int('0600', 7))