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

removed bad ignore as host can override connection

also breaks testing network modules
This commit is contained in:
Brian Coca 2017-03-28 11:32:22 -04:00
parent 61579aebb2
commit 99e298a2a6

View file

@ -103,10 +103,6 @@ class AdHocCLI(CLI):
# only thing left should be host pattern
pattern = to_text(self.args[0], errors='surrogate_or_strict')
# ignore connection password cause we are local
if self.options.connection == "local":
self.options.ask_pass = False
sshpass = None
becomepass = None
b_vault_pass = None