From 88ba46aee04ef75359a44ac2d91e8a649b0506ac Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 5 Nov 2015 15:40:52 -0500 Subject: [PATCH] Revert "fixed append to add" good change on top of bad This reverts commit 699f344e17e029302af0d5636d6e02e6b8d3dd4c. --- lib/ansible/inventory/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/inventory/__init__.py b/lib/ansible/inventory/__init__.py index 2b9a5569fe..a984a99ec1 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -257,7 +257,7 @@ class Inventory(object): for p in patterns: # avoid resolving a pattern that is a plain host if p in self._hosts_cache: - hosts.add(self.get_host(p)) + hosts.append(self.get_host(p)) else: that = self._match_one_pattern(p) if p.startswith("!"):