Merge branch 'master' of github.com:glenux/ansible-role-glenux-vim
This commit is contained in:
commit
a9e675f245
1 changed files with 11 additions and 5 deletions
|
@ -1,13 +1,19 @@
|
|||
---
|
||||
- name: Make directories for Pathogen
|
||||
command: mkdir -p ~/.vim/autoload ~/.vim/bundle
|
||||
file: >
|
||||
"path={{item[0]}}"
|
||||
state=directory
|
||||
become: true
|
||||
become_user: "{{item}}"
|
||||
with_items: vimrc_users
|
||||
become_user: "{{item[1]}}"
|
||||
with_nested:
|
||||
- [ '~/.vim/autoload', '~/.vim/bundle' ]
|
||||
- users
|
||||
|
||||
- name: Install Pathogen
|
||||
command: >
|
||||
curl -LSso ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
|
||||
get_url: >
|
||||
url=https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
|
||||
dest=~/.vim/autoload/pathogen.vim
|
||||
validate_certs=no
|
||||
become: true
|
||||
become_user: "{{item}}"
|
||||
with_items: vimrc_users
|
||||
|
|
Loading…
Reference in a new issue