26 lines
628 B
YAML
26 lines
628 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: "/skel/{{ item }}"
|
|
src: "{{ item.src }}"
|
|
dest: "{{ local_path }}/{{ item.path }}"
|
|
state: link
|
|
become: no
|
|
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"
|