1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Revert "fixed append to add"

good change on top of bad
This reverts commit 699f344e17.
This commit is contained in:
Brian Coca 2015-11-05 15:40:52 -05:00
parent 699f344e17
commit 88ba46aee0

View file

@ -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("!"):