Modifications

This commit is contained in:
Austen Adler 2018-07-08 14:03:49 -04:00
parent 5fd630c948
commit 4510552267
2 changed files with 6 additions and 1 deletions

View File

@ -4,4 +4,3 @@
dest: "{{ sync_path }}" dest: "{{ sync_path }}"
clone: yes clone: yes
update: yes update: yes
force: yes

View File

@ -5,6 +5,12 @@
force: "{{ overwrite_existing }}" force: "{{ overwrite_existing }}"
with_filetree: "skel/" with_filetree: "skel/"
when: item.state == 'directory' when: item.state == 'directory'
- name: Delete existing private files
file:
path: "{{ install_path }}/{{ item.path }}"
state: absent
with_filetree: "private/skel/"
when: item.state == 'file'
- name: Link files - name: Link files
file: file:
src: "{{ sync_path }}/skel/{{ item.path }}" src: "{{ sync_path }}/skel/{{ item.path }}"