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