diff --git a/tasks/main.yml b/tasks/main.yml index 8071442..d0420c0 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,7 +20,7 @@ register: default_music_path_exist - name: copy music - command: "rsync -avzu --progress -h {{default_music_path}} {{music_directory}}" + command: "rsync -avzu --progress -h {{default_music_path}}/ {{music_directory}}" when: default_music_path_exist.stat.exists and music_directory is search("/home/")