mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 00:08:44 -03:30
Merge pull request #2714 from ryanpetrello/fix-2643
fail immediately if an isolated host is unreachable at launch time
This commit is contained in:
@@ -491,8 +491,5 @@ class IsolatedManager(object):
|
|||||||
status, rc = self.dispatch()
|
status, rc = self.dispatch()
|
||||||
if status == 'successful':
|
if status == 'successful':
|
||||||
status, rc = self.check()
|
status, rc = self.check()
|
||||||
else:
|
|
||||||
# If dispatch fails, attempt to consume artifacts that *might* exist
|
|
||||||
self.check()
|
|
||||||
self.cleanup()
|
self.cleanup()
|
||||||
return status, rc
|
return status, rc
|
||||||
|
|||||||
Reference in New Issue
Block a user