mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Let "all" be an alias for "*" in patterns, fix output bug on non-command execution, make clean now removes the build dir
This commit is contained in:
@@ -121,6 +121,8 @@ class Runner(object):
|
||||
subpatterns = pattern.split(";")
|
||||
for subpattern in subpatterns:
|
||||
# the pattern could be a real glob
|
||||
if subpattern == 'all':
|
||||
return True
|
||||
if fnmatch.fnmatch(host_name, subpattern):
|
||||
return True
|
||||
# or it could be a literal group name instead
|
||||
|
||||
Reference in New Issue
Block a user