ansible_install.py already installs ansible and collections, so don't need to in ansible_tests.py
This commit is contained in:
parent
2c9b6433ef
commit
dc94633011
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue