sync/roles/core/tasks/main.yml

24 lines
584 B
YAML
Raw Normal View History

- name: Create directories
file:
path: "{{ local_path }}/{{ item.path }}"
state: directory
2018-04-07 18:38:20 -04:00
with_filetree: "skel/"
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/"
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"