Add YouCompleteMe compilation.

This commit is contained in:
Glenn Y. Rolland 2015-10-22 23:57:59 +02:00
parent 9410842b10
commit 74ecddca17

View file

@ -1,5 +1,5 @@
--- ---
- name: Install Solarized - name: Install Solarized plugin
git: > git: >
repo=git://github.com/altercation/vim-colors-solarized.git repo=git://github.com/altercation/vim-colors-solarized.git
dest=~/.vim/bundle/vim-colors-solarized dest=~/.vim/bundle/vim-colors-solarized
@ -8,7 +8,7 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install Nerdtree - name: Install Nerdtree plugin
git: git:
repo=https://github.com/scrooloose/nerdtree.git repo=https://github.com/scrooloose/nerdtree.git
dest=~/.vim/bundle/nerdtree dest=~/.vim/bundle/nerdtree
@ -18,7 +18,7 @@
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install AutoComplPop - name: Install AutoComplPop plugin
git: git:
repo=https://github.com/vim-scripts/AutoComplPop.git repo=https://github.com/vim-scripts/AutoComplPop.git
dest=~/.vim/bundle/AutoComplPop dest=~/.vim/bundle/AutoComplPop
@ -27,7 +27,7 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install vim-fugitive - name: Install vim-fugitive plugin
git: git:
repo=https://github.com/tpope/vim-fugitive.git repo=https://github.com/tpope/vim-fugitive.git
dest=~/.vim/bundle/vim-fugitive dest=~/.vim/bundle/vim-fugitive
@ -45,7 +45,7 @@
# become: true # become: true
# become_user: "{{vim_user}}" # become_user: "{{vim_user}}"
- name: Install rainbow_parentheses - name: Install rainbow_parentheses plugin
git: git:
repo=https://github.com/kien/rainbow_parentheses.vim.git repo=https://github.com/kien/rainbow_parentheses.vim.git
dest=~/.vim/bundle/rainbow_parentheses dest=~/.vim/bundle/rainbow_parentheses
@ -54,7 +54,7 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install syntastic/ - name: Install syntastic plugin
git: git:
repo=https://github.com/scrooloose/syntastic.git repo=https://github.com/scrooloose/syntastic.git
dest=~/.vim/bundle/syntastic dest=~/.vim/bundle/syntastic
@ -64,7 +64,7 @@
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install tabular - name: Install tabular plugin
git: git:
repo=https://github.com/godlygeek/tabular.git repo=https://github.com/godlygeek/tabular.git
dest=~/.vim/bundle/tabular dest=~/.vim/bundle/tabular
@ -73,7 +73,7 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install vim-bundler - name: Install vim-bundler plugin
git: git:
repo=https://github.com/tpope/vim-bundler.git repo=https://github.com/tpope/vim-bundler.git
dest=~/.vim/bundle/vim-bundler dest=~/.vim/bundle/vim-bundler
@ -82,7 +82,7 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install vim-javascript - name: Install vim-javascript plugin
git: git:
repo=https://github.com/pangloss/vim-javascript.git repo=https://github.com/pangloss/vim-javascript.git
dest=~/.vim/bundle/vim-javascript dest=~/.vim/bundle/vim-javascript
@ -91,7 +91,7 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install vim-puppet - name: Install vim-puppet plugin
git: git:
repo=https://github.com/rodjek/vim-puppet.git repo=https://github.com/rodjek/vim-puppet.git
dest=~/.vim/bundle/vim-puppet dest=~/.vim/bundle/vim-puppet
@ -100,7 +100,7 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install vim-rails - name: Install vim-rails plugin
git: git:
repo=https://github.com/tpope/vim-rails.git repo=https://github.com/tpope/vim-rails.git
dest=~/.vim/bundle/vim-rails dest=~/.vim/bundle/vim-rails
@ -109,7 +109,7 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
- name: Install vim-sensible - name: Install vim-sensible plugin
git: git:
repo=https://github.com/tpope/vim-sensible.git repo=https://github.com/tpope/vim-sensible.git
dest=~/.vim/bundle/vim-sensible dest=~/.vim/bundle/vim-sensible
@ -118,12 +118,27 @@
become: true become: true
become_user: "{{vim_user}}" become_user: "{{vim_user}}"
# - name: Install YouCompleteMe - name: Install YouCompleteMe dependencies
# git: apt:
# repo=https://github.com/Valloric/YouCompleteMe.git name="{{item}}"
# dest=~/.vim/bundle/YouCompleteMe state=present
# update=yes with_items:
# accept_hostkey=yes - python-dev
# become: true - build-essential
# become_user: "{{vim_user}}" - cmake
- name: Install YouCompleteMe plugin
git:
repo=https://github.com/Valloric/YouCompleteMe.git
dest=~/.vim/bundle/YouCompleteMe
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install YouCompleteMe library
shell: ./install.sh
chdir: ~/.vim/bundle/YouCompleteMe
become: true
become_user: "{{vim_user}}"