From 6eda3cbee7b853a2295236242199400e7fb137f2 Mon Sep 17 00:00:00 2001 From: Joe Adams Date: Mon, 29 Sep 2014 17:02:08 -0400 Subject: [PATCH] Added note to files/synchronize module about synchronizing two directories on the same host --- lib/ansible/modules/files/synchronize.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/synchronize.py b/lib/ansible/modules/files/synchronize.py index 842dd863849..73108dbd3ba 100644 --- a/lib/ansible/modules/files/synchronize.py +++ b/lib/ansible/modules/files/synchronize.py @@ -180,7 +180,9 @@ local_action: synchronize src=some/relative/path dest=/some/absolute/path pull mode synchronize: mode=pull src=some/relative/path dest=/some/absolute/path -# Synchronization of src on delegate host to dest on the current inventory host +# Synchronization of src on delegate host to dest on the current inventory host. +# If delegate_to is set to the current inventory host, this can be used to syncronize +# two directories on that host. synchronize: > src=some/relative/path dest=/some/absolute/path delegate_to: delegate.host