Skip to content

Commit

Permalink
deploy: Don't propagate fail when waiting for ssh
Browse files Browse the repository at this point in the history
This commit is part of 167d99a.
Without it, if host.ssh_reachable() is false, the outer log
task will always be marked as a failure.

Signed-off-by: gbenhaim <[email protected]>
  • Loading branch information
gbenhaim committed Dec 6, 2017
1 parent 976efa3 commit ed3f48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lago/prefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ def _deploy_host(self, host):
return

with LogTask('Wait for ssh connectivity'):
if not host.ssh_reachable(tries=1):
if not host.ssh_reachable(tries=1, propagate_fail=False):
time.sleep(10)
host.wait_for_ssh()

Expand Down

0 comments on commit ed3f48c

Please sign in to comment.