dotfiles/roles/vim/tasks/main.yml

27 lines
424 B
YAML
Raw Normal View History

2019-05-24 20:46:04 +00:00
---
- name: Ensure vim is installed
package:
name: vim
state: present
become: true
become_user: root
ignore_errors: yes
2019-05-24 20:46:04 +00:00
- name: Ensure ~/.vim/colors folder exists
2019-05-24 20:46:04 +00:00
file:
path: ~/.vim/colors
state: directory
recurse: yes
- name: Copy kuroi color scheme
copy:
src: kuroi.vim
2019-05-24 20:46:04 +00:00
dest: ~/.vim/colors/kuroi.vim
- name: Template vim config
template:
src: vimrc.j2
dest: ~/.vimrc