fix another encoding place

pull/715/head
Steven Robertson 4 years ago
parent 140406342b
commit 2c9b6433ef

@ -40,7 +40,8 @@ with ci_lib.Fold('job_setup'):
# Don't set -U as that will upgrade Paramiko to a non-2.6 compatible version. # 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) # 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 # ansible v2.10 isn't out yet so we're installing from github for now
run('pip install -q {}'.format(ci_lib.ANSIBLE_VERSION)) # 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 # after ansible is installed, install common collections until ansible==2.10 comes out
run('ansible-galaxy collection install community.general') run('ansible-galaxy collection install community.general')

Loading…
Cancel
Save