From 35068527db97b089e915625935e2341984eed591 Mon Sep 17 00:00:00 2001 From: Timothy Appnel Date: Sat, 14 Sep 2013 00:01:17 -0400 Subject: [PATCH] Removed busted tmp_dir option that was a bad idea to begin with. --- files/synchronize | 4 ---- 1 file changed, 4 deletions(-) diff --git a/files/synchronize b/files/synchronize index cf4768970bb..1362de5530b 100644 --- a/files/synchronize +++ b/files/synchronize @@ -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: