27 lines
424 B
YAML
27 lines
424 B
YAML
---
|
|
|
|
- name: Ensure vim is installed
|
|
package:
|
|
name: vim
|
|
state: present
|
|
become: true
|
|
become_user: root
|
|
ignore_errors: yes
|
|
|
|
- name: Ensure ~/.vim/colors folder exists
|
|
file:
|
|
path: ~/.vim/colors
|
|
state: directory
|
|
recurse: yes
|
|
|
|
- name: Copy kuroi color scheme
|
|
copy:
|
|
src: kuroi.vim
|
|
dest: ~/.vim/colors/kuroi.vim
|
|
|
|
- name: Template vim config
|
|
template:
|
|
src: vimrc.j2
|
|
dest: ~/.vimrc
|
|
|