24 lines
584 B
YAML
24 lines
584 B
YAML
- name: Create directories
|
|
file:
|
|
path: "{{ local_path }}/{{ item.path }}"
|
|
state: directory
|
|
with_filetree: "skel/"
|
|
when: item.state == 'directory'
|
|
- name: Link files
|
|
file:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ local_path }}/{{ item.path }}"
|
|
state: link
|
|
with_filetree: "skel/"
|
|
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"
|