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:
parent
13b295f1ee
commit
228ad3ca39
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue