Commit 4ba366c2 by Michael DeHaan

Require that ansible managed hosts be in the list of hosts to manage to avoid

option overload.
parent 01e5da6d
......@@ -49,9 +49,6 @@ def main(args):
sshpass = None
if options.askpass:
sshpass = getpass.getpass(prompt="SSH password: ")
pattern = '*'
if options.host:
pattern += ';'.join(options.host)
if options.output_dest:
if options.output_dest[0] != '/':
......@@ -81,7 +78,7 @@ def main(args):
remote_pass=sshpass,
host_list=options.host_list,
forks=options.forks,
pattern=pattern,
pattern=options.pattern,
verbose=True,
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment