diff --git a/playbooks/home_app.yml b/playbooks/home_app.yml index 1f9cc7d..ab83a13 100755 --- a/playbooks/home_app.yml +++ b/playbooks/home_app.yml @@ -46,13 +46,25 @@ cron: name: "{{ item.name }}" minute: 0 - hour: "*" - job: "pgrep rsync || rsync -avHS --remove-source-files '/data/syncthing/data/{{ item.src }}/' '/data/syncthing/data/{{ item.dest }}/' && rmdir '/data/syncthing/data/{{ item.src }}' " + hour: 5 + job: "rsync -avHS --remove-source-files '/data/syncthing/data/{{ item.src }}/' '/data/syncthing/data/{{ item.dest }}/' && rmdir '/data/syncthing/data/{{ item.src }}' " with_items: # This works around a bug in my Android app lol - name: husky test workaround src: Pictures/Husky Test dest: Pictures/Unsorted/Husky + - name: move messaging to unsorted + src: Pictures/Messaging + dest: Pictures/Unsorted/Messaging + - name: move discord to unsorted + src: Pictures/Discord + dest: Pictures/Unsorted/Discord + - name: move camera roll to unsorted + src: Pictures/Camera Roll + dest: Pictures/Unsorted/Camera Roll + - name: move cp2077 to screenshots + src: Pictures/Cyberpunk 2077 + dest: Pictures/Unsorted/Screenshots/Vidya/Cyberpunk 2077 tags: [ cron ] roles: - role: backup