Skip to content

Commit

Permalink
updates rsync task to delete files no longer present
Browse files Browse the repository at this point in the history
  • Loading branch information
discopatrick committed Jul 12, 2016
1 parent 5de3050 commit bd95166
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playbooks/rsync-vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
src: /home/admin/syncthis
dest: ./.rsync
mode: pull
delete: yes # deletes files no longer present
become: yes

- name: two step rsync - step 2
Expand All @@ -30,3 +31,4 @@
src: ./.rsync/syncthis
dest: /home/vagrant
mode: push
delete: yes # deletes files no longer present

0 comments on commit bd95166

Please sign in to comment.