From 87258f6d428a74c5da0eeda76f797981a9418984 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 4 Jan 2014 14:03:42 -0500 Subject: [PATCH] Resolve merge commit --- lib/ansible/playbook/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index 4b5a483348..dc7991aaf7 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -437,10 +437,6 @@ class PlayBook(object): return {} host_list = self._list_available_hosts(play.hosts) - if play.gather_facts is None: - host_list = [h for h in host_list if h not in self.SETUP_CACHE or 'module_setup' not in self.SETUP_CACHE[h]] - if len(host_list) == 0: - return {} self.callbacks.on_setup() self.inventory.restrict_to(host_list)