added , back to inventory spliting

This commit is contained in:
Brian Coca 2015-12-05 01:07:12 -05:00
parent 5eeb4ef2b6
commit ab18fd2171

View file

@ -181,8 +181,9 @@ class Inventory(object):
# process patterns
if isinstance(pattern, list):
pattern = ';'.join(pattern)
patterns = pattern.replace(";",":").split(":")
patterns = pattern
else:
patterns = pattern.replace(";",":").replace(",",":").split(":")
hosts = self._get_hosts(patterns)
# exclude hosts not in a subset, if defined