1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Should be errors=strict since we don't want to end up matching hosts like '???'

This commit is contained in:
Toshio Kuratomi 2016-03-24 09:25:37 -07:00
parent 13b295f1ee
commit 228ad3ca39

View file

@ -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":