From e62b38c25093bb7d19ce6394261721c8fbcb5520 Mon Sep 17 00:00:00 2001 From: jjshoe Date: Wed, 26 Mar 2014 08:32:55 -0500 Subject: [PATCH] Show argument dependency failed: [192.168.1.2] => {"cmd": "rsync --delay-updates -FF --compress --timeout=10 --delete-after --rsh 'ssh -i /home/jjshoe/.vagrant.d/insecure_private_key -o StrictHostKeyChecking=no' --rsync-path 'sudo rsync' --out-format='<>%i %n%L' /tmp/app vagrant@192.168.1.2:/home/ubuntu/app", "failed": true, "item": "", "rc": 1} msg: rsync: --delete does not work without --recursive (-r) or --dirs (-d). rsync error: syntax or usage error (code 1) at main.c(1453) [client=3.0.9] --- files/synchronize | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/synchronize b/files/synchronize index 1401a326fa1..3409c6f0300 100644 --- a/files/synchronize +++ b/files/synchronize @@ -58,7 +58,7 @@ options: version_added: "1.5" delete: description: - - Delete files that don't exist (after transfer, not before) in the C(src) path. + - Delete files that don't exist (after transfer, not before) in the C(src) path. This option requires C(recursive=yes). choices: [ 'yes', 'no' ] default: 'no' required: false