mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Allow ":" to be used to split patterns as well as ";" so if you are just using group names or fully explicit names you do not need to use shell quoting at all. Obviously if you use wildcards like "*" you wouldstill.
This commit is contained in:
parent
c839229f54
commit
db57933614
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ class Runner(object):
|
|||
|
||||
if host_name == '':
|
||||
return False
|
||||
subpatterns = pattern.split(";")
|
||||
pattern = pattern.replace(";",":")
|
||||
subpatterns = pattern.split(":")
|
||||
for subpattern in subpatterns:
|
||||
# the pattern could be a real glob
|
||||
if subpattern == 'all':
|
||||
|
|
Loading…
Reference in a new issue