Skip to content

Commit

Permalink
fix for system-upgrade (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Mar 17, 2024
1 parent 83c7ba7 commit a315308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/helper/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def wait_for_update(module: AnsibleModule, s: Session) -> bool:
_wait_msg(module, f"Got result: {result['log']}")
return True

except HTTPX_EXCEPTIONS:
except (HTTPX_EXCEPTIONS, ConnectionError, TimeoutError):
# not reachable while rebooting
_wait_msg(module, 'Waiting for response..')

Expand Down

0 comments on commit a315308

Please sign in to comment.