dotfiles/roles/vim-plug/tasks/installation.yml

18 lines
546 B
YAML
Raw Permalink Normal View History

---
# 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'