Install vim and configure with vundle (providing vimrc)
You should review templates/vimrc.j2 and change it to your needs. The provided vimrc has been checked on remote Debian/Ubuntu and RedHat/Centos systems.
Git and vim are checked in this role, so no package requirements, however, it will install .vimrc file provided by this role in templates/vimrc.j2. You may want to change it.
defaults/main.yml:
# github vundle repo url
vim_vundle_repo: "https://github.com/VundleVim/Vundle.vim.git"
# where to install the vundle package
vim_vundle_dest: "{{ ansible_user_dir }}/.vim/bundle/Vundle.vim"
# vimrc template file
vim_vimrc_src: "vimrc.j2"
# where vimrc should be installed on dest
vim_vimrc_dest: "{{ ansible_user_dir }}/.vimrc"
- hosts: servers
roles:
- Tahvok.vim
MIT
Albert Mikaelyan http://tahvok.com