mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Should be errors=strict since we don't want to end up matching hosts like '???'
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user