Removed busted tmp_dir option that was a bad idea to begin with.

This commit is contained in:
Timothy Appnel 2013-09-14 00:01:17 -04:00
parent 26585aae46
commit 35068527db

View file

@ -91,7 +91,6 @@ def main():
src = dict(required=True),
dest = dict(required=True),
verbosity = dict(default=0),
tmp_dir = dict(default=None),
delete = dict(default='no', type='bool'),
private_key = dict(default=None),
rsync_path = dict(default=None),
@ -106,7 +105,6 @@ def main():
private_key = module.params['private_key']
rsync_path = module.params['rsync_path']
rsync = module.params.get('local_rsync_path', 'rsync')
temp = os.path.dirname(os.path.realpath(__file__))
cmd = '%s --archive --delay-updates --compress' % rsync
if module.check_mode:
@ -115,8 +113,6 @@ def main():
cmd = '%s -%s' % (cmd, 'v' * int(verbosity))
else:
cmd = cmd + ' --quiet'
if temp:
cmd = cmd + ' --temp-dir ' + temp
if delete:
cmd = cmd + ' --delete-after'
if private_key is None: