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

21 lines
635 B
YAML
Raw 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
owner: syntaxerrormmm
group: syntaxerrormmm
- 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"
owner: syntaxerrormmm
group: syntaxerrormmm
mode: '0644'