From 19741d75eb01105fabdb26ef628f8fa5abff36b6 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 27 Jul 2015 11:35:21 -0700 Subject: [PATCH] Fi the local_rsync_path parameter used by the action plugin --- files/synchronize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/synchronize.py b/files/synchronize.py index ff58f9c1032..8266ece7b36 100644 --- a/files/synchronize.py +++ b/files/synchronize.py @@ -233,6 +233,7 @@ def main(): delete = dict(default='no', type='bool'), private_key = dict(default=None), rsync_path = dict(default=None), + _local_rsync_path = dict(default='rsync', type='path'), archive = dict(default='yes', type='bool'), checksum = dict(default='no', type='bool'), compress = dict(default='yes', type='bool'), @@ -261,7 +262,7 @@ def main(): delete = module.params['delete'] private_key = module.params['private_key'] rsync_path = module.params['rsync_path'] - rsync = module.params.get('local_rsync_path', 'rsync') + rsync = module.params.get('_local_rsync_path', 'rsync') rsync_timeout = module.params.get('rsync_timeout', 'rsync_timeout') archive = module.params['archive'] checksum = module.params['checksum']