mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-29 12:29:10 -07:00
Merge pull request #1416 from skvidal/devel
make --limit take a , as a separator as well as ; or :
This commit is contained in:
commit
ce413ab01d
1 changed files with 1 additions and 0 deletions
|
@ -331,6 +331,7 @@ class Inventory(object):
|
||||||
if subset_pattern is None:
|
if subset_pattern is None:
|
||||||
self._subset = None
|
self._subset = None
|
||||||
else:
|
else:
|
||||||
|
subset_pattern = subset_pattern.replace(',',':')
|
||||||
self._subset = subset_pattern.replace(";",":").split(":")
|
self._subset = subset_pattern.replace(";",":").split(":")
|
||||||
|
|
||||||
def lift_restriction(self):
|
def lift_restriction(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue