From a01a800b65ba1dfdde5f40c0a41be268b47edc95 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 --- lib/ansible/modules/files/synchronize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/synchronize.py b/lib/ansible/modules/files/synchronize.py index 234ea2f296a..08578056413 100644 --- a/lib/ansible/modules/files/synchronize.py +++ b/lib/ansible/modules/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']