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

Add support to bin/ansible for --connection option

This commit is contained in:
Stephen Fromm 2012-04-10 16:28:43 -07:00
parent b5061bb62e
commit fdee1d3459

View file

@ -61,6 +61,7 @@ class Cli(object):
runas_opts=True,
async_opts=True,
output_opts=True,
connect_opts=True,
)
@ -97,7 +98,7 @@ class Cli(object):
remote_port=options.remote_port, forks=options.forks,
background=options.seconds, pattern=pattern,
callbacks=self.callbacks, sudo=options.sudo, verbose=True,
debug=options.debug
transport=options.connection, debug=options.debug
)
return (runner, runner.run())