Added file copy support w/ readme updates

This commit is contained in:
Michael DeHaan
2012-02-23 16:07:10 -05:00
parent 83d15afc6f
commit 3807824c6d
4 changed files with 54 additions and 21 deletions

View File

@@ -35,10 +35,13 @@ class Cli(object):
options, args = parser.parse_args()
host_list = self._host_list(options.host_list)
# TODO: more shell like splitting on module_args would
# be a good idea
return ansible.Runner(
module_name=options.module_name,
module_path=options.module_path,
module_args=options.module_args,
module_args=options.module_args.split(' '),
host_list=host_list,
forks=options.forks,
pattern=options.pattern,