diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2016-03-24 09:25:37 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2016-03-24 09:26:18 -0700 |
commit | e17ba96589c6f1d72102518dd8d14320b6016d15 (patch) | |
tree | a4a9d7d4997980b17b5e97218b5d90cf6946ff5b | |
parent | 2d0badc5ef9f5dc3a07428687d83819ea5de594f (diff) | |
download | ansible-e17ba96589c6f1d72102518dd8d14320b6016d15.tar.gz |
Should be errors=strict since we don't want to end up matching hosts like '???'
-rw-r--r-- | lib/ansible/cli/adhoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/cli/adhoc.py b/lib/ansible/cli/adhoc.py index c69bb42cc8..d7fc5d7fad 100644 --- a/lib/ansible/cli/adhoc.py +++ b/lib/ansible/cli/adhoc.py @@ -96,7 +96,7 @@ class AdHocCLI(CLI): super(AdHocCLI, self).run() # only thing left should be host pattern - pattern = to_unicode(self.args[0]) + pattern = to_unicode(self.args[0], errors='strict') # ignore connection password cause we are local if self.options.connection == "local": |