delete copy data
This commit is contained in:
parent
16c88a4560
commit
84f4a42905
@ -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/")
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user