dotfiles/roles/vim-plug/tasks/installation.yml
2024-10-01 09:17:39 +02:00

18 lines
546 B
YAML

---
# Installation tasks
- name: Installing plugin dependencies
ansible.builtin.include_tasks: "depend/{{ ansible_os_family | lower }}.yml"
- name: Creating autoload dir
ansible.builtin.file:
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim/autoload"
state: directory
mode: '0755'
- name: Installing vim-plug from git
ansible.builtin.get_url:
url: "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim/autoload/plug.vim"
mode: '0644'