From d63fa6f026761c940adb08431c264530780bbfdb Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Mon, 22 Oct 2012 21:24:25 -0400 Subject: [PATCH] make --limit take a , as a separator as well as ; or : --- lib/ansible/inventory/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/inventory/__init__.py b/lib/ansible/inventory/__init__.py index 0b1335b0f23..46a0dd35626 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -331,6 +331,7 @@ class Inventory(object): if subset_pattern is None: self._subset = None else: + subset_pattern = subset_pattern.replace(',',':') self._subset = subset_pattern.replace(";",":").split(":") def lift_restriction(self):