diff --git a/roles/core/tasks/main.yml b/roles/core/tasks/main.yml index afa9906..9ee53ea 100644 --- a/roles/core/tasks/main.yml +++ b/roles/core/tasks/main.yml @@ -4,4 +4,3 @@ dest: "{{ sync_path }}" clone: yes update: yes - force: yes diff --git a/roles/default/tasks/main.yml b/roles/default/tasks/main.yml index 3e47a56..b7f1541 100644 --- a/roles/default/tasks/main.yml +++ b/roles/default/tasks/main.yml @@ -5,6 +5,12 @@ force: "{{ overwrite_existing }}" with_filetree: "skel/" 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 file: src: "{{ sync_path }}/skel/{{ item.path }}"