25 lines
677 B
YAML
25 lines
677 B
YAML
|
- name: Create directories
|
||
|
file:
|
||
|
path: "{{ install_path }}/{{ item.path }}"
|
||
|
state: directory
|
||
|
force: "{{ overwrite_existing }}"
|
||
|
with_filetree: "skel/"
|
||
|
when: item.state == 'directory'
|
||
|
- name: Link files
|
||
|
file:
|
||
|
src: "{{ sync_path }}/skel/{{ item.path }}"
|
||
|
dest: "{{ install_path }}/{{ item.path }}"
|
||
|
state: link
|
||
|
force: "{{ overwrite_existing }}"
|
||
|
with_filetree: "skel/"
|
||
|
when: item.state == 'file'
|
||
|
- name: Clone fzf
|
||
|
git:
|
||
|
repo: "https://gitea.austenwares.com/stonewareslord/fzf.git"
|
||
|
dest: "{{ install_path }}/.fzf"
|
||
|
clone: yes
|
||
|
update: yes
|
||
|
force: yes
|
||
|
- name: Install fzf
|
||
|
shell: "{{ install_path|quote }}/.fzf/install --bin"
|