Skip to content

Commit 835f7d7

Browse files
s1113950moreati
authored andcommitted
azure tests don't like sshpass v1.06 so pegging to 1.05
(cherry picked from commit ddb87f6)
1 parent 6cdacd4 commit 835f7d7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.ci/localhost_ansible_tests.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@
2121

2222
with ci_lib.Fold('job_setup'):
2323
os.chmod(KEY_PATH, int('0600', 8))
24+
# NOTE: sshpass v1.06 causes errors so pegging to 1.05 -> "msg": "Error when changing password","out": "passwd: DS error: eDSAuthFailed\n",
25+
# there's a checksum error with "brew install http://git.io/sshpass.rb" though, so installing manually
2426
if not ci_lib.exists_in_path('sshpass'):
25-
run("brew install esolitos/ipa/sshpass")
27+
run("curl -O -L https://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz && \
28+
tar xvf sshpass-1.05.tar.gz && \
29+
cd sshpass-1.05 && \
30+
./configure && \
31+
sudo make install")
2632

2733

2834
with ci_lib.Fold('machine_prep'):

0 commit comments

Comments
 (0)