From 0071fd0bf72380bc60cfd79a4b51af5ec7307a02 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 5 Aug 2015 11:54:12 -0700 Subject: [PATCH] Allow mode as a synchronize parameter (handled in action plugin) --- files/synchronize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/synchronize.py b/files/synchronize.py index 8266ece7b36..ee815acc561 100644 --- a/files/synchronize.py +++ b/files/synchronize.py @@ -252,6 +252,7 @@ def main(): ssh_args = dict(type='str'), partial = dict(default='no', type='bool'), verify_host = dict(default='no', type='bool'), + mode = dict(default='push', choices=['push', 'pull']), ), supports_check_mode = True )