ansible-role--vim/tasks/pathogen.yml

24 lines
631 B
YAML
Raw Normal View History

2015-10-22 21:07:53 +00:00
---
- name: Make directories for Pathogen
command: mkdir -p ~/.vim/autoload ~/.vim/bundle
become: true
2015-11-08 18:18:17 +00:00
become_user: "{{item}}"
2015-11-27 16:43:18 +00:00
with_items: vimrc_users
2015-10-22 21:07:53 +00:00
- name: Install Pathogen
command: >
curl -LSso ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
become: true
2015-11-08 18:18:17 +00:00
become_user: "{{item}}"
2015-11-27 16:43:18 +00:00
with_items: vimrc_users
2015-10-22 21:07:53 +00:00
2015-12-27 17:48:53 +00:00
# - lineinfile: >
# dest=~/.vimrc
# regexp=^execute.pathogen.infect
# line="source ~/.vim/ansible/pathogen.vim"
# insertbefore="{{vimrc_boundary_end_regexp}}"
# become: true
# become_user: "{{item}}"
# with_items: vimrc_users