dotfiles/config/automatrop/roles/vim/tasks/main.yml

21 lines
502 B
YAML
Raw Normal View History

2021-07-03 14:13:25 +02:00
- name: Configure vim plugin list
template:
src: plugininstall.j2
dest: "{{ ansible_user_dir }}/.config/{{ variant }}/plugininstall.vim"
mode: "u=rw,g=r,o=r"
notify:
- "{{ variant }} plugins changed"
loop: "{{ vim_variants }}"
loop_control:
loop_var: variant
2021-07-03 14:13:25 +02:00
- name: Configure vim
template:
2021-07-03 14:13:25 +02:00
src: init.vim.j2
dest: "{{ ansible_user_dir }}/.config/{{ variant }}/init.vim"
mode: "u=rw,g=r,o=r"
2021-07-03 14:13:25 +02:00
loop: "{{ vim_variants }}"
loop_control:
loop_var: variant