2018-04-07 17:47:15 -04:00
|
|
|
- name: Create directories
|
|
|
|
file:
|
|
|
|
path: "{{ local_path }}/{{ item.path }}"
|
|
|
|
state: directory
|
2018-04-07 18:38:20 -04:00
|
|
|
with_filetree: "skel/"
|
2018-04-07 17:47:15 -04:00
|
|
|
when: item.state == 'directory'
|
|
|
|
- name: Link files
|
|
|
|
file:
|
|
|
|
src: "{{ item.src }}"
|
|
|
|
dest: "{{ local_path }}/{{ item.path }}"
|
|
|
|
state: link
|
2018-04-07 18:38:20 -04:00
|
|
|
with_filetree: "skel/"
|
2018-04-07 17:47:15 -04:00
|
|
|
when: item.state == 'file'
|
|
|
|
- name: Clone fzf
|
|
|
|
git:
|
|
|
|
repo: "https://gitea.austenwares.com/stonewareslord/fzf.git"
|
|
|
|
dest: "{{ local_path }}/.fzf"
|
|
|
|
clone: yes
|
|
|
|
update: yes
|
|
|
|
force: yes
|
|
|
|
become: no
|
|
|
|
- name: Install fzf
|
|
|
|
shell: "{{ local_path|quote }}/.fzf/install --bin"
|