fail immediately if an isolated host is unreachable at launch time

see: https://github.com/ansible/tower/issues/2643
This commit is contained in:
Ryan Petrello
2018-07-30 12:40:26 -04:00
parent 6e3686bfc9
commit aee986d53c

View File

@@ -491,8 +491,5 @@ class IsolatedManager(object):
status, rc = self.dispatch()
if status == 'successful':
status, rc = self.check()
else:
# If dispatch fails, attempt to consume artifacts that *might* exist
self.check()
self.cleanup()
return status, rc