sync/roles/clean/tasks/main.yml

14 lines
285 B
YAML
Raw Permalink Normal View History

2018-07-05 17:07:42 -04:00
- name: Remove files
file:
2018-07-07 00:07:24 -04:00
path: "{{ install_path }}/{{ item.path }}"
2018-07-05 17:07:42 -04:00
state: absent
with_filetree: "skel/"
2018-07-08 00:51:09 -04:00
when: item.state == 'file'
2018-07-05 17:07:42 -04:00
- name: Remove cloned repositories
file:
2018-07-07 00:07:24 -04:00
path: "{{ install_path }}/{{ item }}"
2018-07-05 17:07:42 -04:00
state: absent
loop:
2018-07-05 17:15:28 -04:00
- ".fzf"
- ".vim"