From 2206d4b1e0d71a610102a415ca00180aca237e60 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 --- files/synchronize.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/synchronize.py b/files/synchronize.py index 842dd863849..73108dbd3ba 100644 --- a/files/synchronize.py +++ b/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