From 4510552267c8b250e0bb66f605d21f572b185ab0 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 8 Jul 2018 14:03:49 -0400 Subject: [PATCH] Modifications --- roles/core/tasks/main.yml | 1 - roles/default/tasks/main.yml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 }}"