diff options
author | Michael DeHaan <michael.dehaan@gmail.com> | 2012-03-03 01:44:50 +0100 |
---|---|---|
committer | Michael DeHaan <michael.dehaan@gmail.com> | 2012-03-03 01:44:50 +0100 |
commit | e6a1acf756dcee1e23b6f0642563e2773fe7805d (patch) | |
tree | 421766278b95ede847b0b1f9215032ba9f6f880a /lib | |
parent | make command module error when no -a more obvious as command is the default m... (diff) | |
download | ansible-e6a1acf756dcee1e23b6f0642563e2773fe7805d.tar.xz ansible-e6a1acf756dcee1e23b6f0642563e2773fe7805d.zip |
Let "all" be an alias for "*" in patterns, fix output bug on non-command execution, make clean now removes the build dir
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/ansible/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ansible/runner.py b/lib/ansible/runner.py index 574ab941f9..426d534772 100755 --- a/lib/ansible/runner.py +++ b/lib/ansible/runner.py @@ -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 |