From aee986d53c528f2a3ebf7847dd129d2984c913da Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Mon, 30 Jul 2018 12:40:26 -0400 Subject: [PATCH] fail immediately if an isolated host is unreachable at launch time see: https://github.com/ansible/tower/issues/2643 --- awx/main/expect/isolated_manager.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/awx/main/expect/isolated_manager.py b/awx/main/expect/isolated_manager.py index 7cbe8bbbc0..9fa5c4af45 100644 --- a/awx/main/expect/isolated_manager.py +++ b/awx/main/expect/isolated_manager.py @@ -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