delete copy data

This commit is contained in:
vincent 2019-04-08 23:07:55 +02:00
parent 16c88a4560
commit 84f4a42905

View File

@ -14,14 +14,14 @@
notify: start_mpd
- name: stat default music path
stat:
path: "{{default_music_path}}" # required. The full path of the file/object to get the facts of.
register: default_music_path_exist
- name: copy music
command: "rsync -avzu --progress -h {{default_music_path}}/ {{music_directory}}"
when: default_music_path_exist.stat.exists and music_directory is search("/home/")
#- name: stat default music path
# stat:
# path: "{{default_music_path}}" # required. The full path of the file/object to get the facts of.
# register: default_music_path_exist
#
#- name: copy music
# command: "rsync -avzu --progress -h {{default_music_path}}/ {{music_directory}}"
# when: default_music_path_exist.stat.exists and music_directory is search("/home/")