Skip to content
Snippets Groups Projects
Commit a5e38b15 authored by Jens Heidbüchel's avatar Jens Heidbüchel
Browse files

Add vim postprocessing

parent ec40ff0d
No related branches found
No related tags found
No related merge requests found
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
- hosts: localhost - hosts: localhost
roles: roles:
- { role: osx, when: "ansible_os_family == 'Darwin'" } - { role: osxdesktop, when: "ansible_os_family == 'Darwin'" }
---
### BEGIN PREPARE VIM
- name: Prepare vim
git: >
repo=https://github.com/VundleVim/Vundle.vim.git
dest={{ansible_env.HOME}}/.vim/bundle/Vundle.vim
- name: Install vim plugins
command: vim +PluginInstall +qall
- name: Postprocess vim YCM
command: >
./install.py
chdir={{ansible_env.HOME}}/.vim/bundle/YouCompleteMe
- name: Get rst2ctags for vim tagbar
get_url: >
url=https://raw.githubusercontent.com/jszakmeister/rst2ctags/master/rst2ctags.py
dest={{ansible_env.HOME}}/bin/rst2ctags.py
mode="0644"
### END PREPARE VIM
--- ---
- name: Create bin directory
file: path={{ansible_env.HOME}}/bin state=directory
- name: Create develop directory
file: path={{ansible_env.HOME}}/develop state=directory
- name: Clone dot files - name: Clone dot files
git: repo=https://github.com/forkedjensh/dotfiles.git git: repo=https://github.com/forkedjensh/dotfiles.git
dest={{ ansible_env.HOME }}/dotfiles dest={{ ansible_env.HOME }}/dotfiles
notify:
- Prepare vim
- Install vim plugins
- Postprocess vim YCM
- Get rst2ctags for vim tagbar
- name: Link dot files - name: Link dot files
file: src={{item.value.src}} dest={{item.value.dest}} file: src={{item.value.src}} dest={{item.value.dest}}
with_dict: with_dict:
......
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment