diff --git a/.ci/localhost_ansible_tests.py b/.ci/localhost_ansible_tests.py index 0e7e8be4..aaecc973 100755 --- a/.ci/localhost_ansible_tests.py +++ b/.ci/localhost_ansible_tests.py @@ -21,8 +21,14 @@ with ci_lib.Fold('unit_tests'): with ci_lib.Fold('job_setup'): os.chmod(KEY_PATH, int('0600', 8)) + # NOTE: sshpass v1.06 causes errors so pegging to 1.05 -> "msg": "Error when changing password","out": "passwd: DS error: eDSAuthFailed\n", + # there's a checksum error with "brew install http://git.io/sshpass.rb" though, so installing manually if not ci_lib.exists_in_path('sshpass'): - run("brew install esolitos/ipa/sshpass") + run("curl -O -L https://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz && \ + tar xvf sshpass-1.05.tar.gz && \ + cd sshpass-1.05 && \ + ./configure && \ + sudo make install") with ci_lib.Fold('machine_prep'):