Add tasks for other modules.

This commit is contained in:
Glenn Y. Rolland 2015-10-22 06:40:33 +02:00
parent 33253fb0bb
commit c8fc116b20
2 changed files with 158 additions and 129 deletions

View file

@ -1,134 +1,23 @@
--- ---
galaxy_info: galaxy_info:
author: your name author: Glenn Y. Rolland
description: description: Install Pathogen, Solarized, Nerdtree and AutoComplPop for Vim. Copy my .vimrc
company: your company (optional) company: netcat_
# Some suggested licenses: license: MIT
# - BSD (default) min_ansible_version: 1.9
# - MIT platforms:
# - GPLv2 - name: Debian
# - GPLv3 versions:
# - Apache - all
# - CC-BY - name: Ubuntu
license: license (GPLv2, CC-BY, etc) versions:
min_ansible_version: 1.2 - all
# - names: Mac OS
# Below are all platforms currently available. Just uncomment versions:
# the ones that apply to your role. If you don't see your - X
# platform on this list, let us know and we'll get it added! categories:
# - development
#platforms: - system
#- name: EL
# versions:
# - all
# - 5
# - 6
# - 7
#- name: GenericUNIX
# versions:
# - all
# - any
#- name: Fedora
# versions:
# - all
# - 16
# - 17
# - 18
# - 19
# - 20
# - 21
# - 22
#- name: Windows
# versions:
# - all
# - 2012R2
#- name: SmartOS
# versions:
# - all
# - any
#- name: opensuse
# versions:
# - all
# - 12.1
# - 12.2
# - 12.3
# - 13.1
# - 13.2
#- name: Amazon
# versions:
# - all
# - 2013.03
# - 2013.09
#- name: GenericBSD
# versions:
# - all
# - any
#- name: FreeBSD
# versions:
# - all
# - 8.0
# - 8.1
# - 8.2
# - 8.3
# - 8.4
# - 9.0
# - 9.1
# - 9.1
# - 9.2
#- name: Ubuntu
# versions:
# - all
# - lucid
# - maverick
# - natty
# - oneiric
# - precise
# - quantal
# - raring
# - saucy
# - trusty
# - utopic
# - vivid
#- name: SLES
# versions:
# - all
# - 10SP3
# - 10SP4
# - 11
# - 11SP1
# - 11SP2
# - 11SP3
#- name: GenericLinux
# versions:
# - all
# - any
#- name: Debian
# versions:
# - all
# - etch
# - jessie
# - lenny
# - squeeze
# - wheezy
#
# Below are all categories currently available. Just as with
# the platforms above, uncomment those that apply to your role.
#
#categories:
#- cloud
#- cloud:ec2
#- cloud:gce
#- cloud:rax
#- clustering
#- database
#- database:nosql
#- database:sql
#- development
#- monitoring
#- networking
#- packaging
#- system
#- web
dependencies: [] dependencies: []
# List your role dependencies here, one per line. Only # List your role dependencies here, one per line. Only
# dependencies available via galaxy should be listed here. # dependencies available via galaxy should be listed here.

View file

@ -1,2 +1,142 @@
--- ---
# tasks file for glenux.vim # tasks file for glenux.vim
# Inspiration from https://github.com/ChengLong/ansible-vim/blob/master/tasks/main.yml
- name: Make directories for Pathogen
command: mkdir -p ~/.vim/autoload ~/.vim/bundle
become: true
become_user: "{{vim_user}}"
- name: Install Pathogen
command: >
curl -LSso ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
become: true
become_user: "{{vim_user}}"
- name: Install Solarized
git: >
repo=git://github.com/altercation/vim-colors-solarized.git
dest=~/.vim/bundle/vim-colors-solarized
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install Nerdtree
git:
repo=https://github.com/scrooloose/nerdtree.git
dest=~/.vim/bundle/nerdtree
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install AutoComplPop
git:
repo=https://github.com/vim-scripts/AutoComplPop.git
dest=~/.vim/bundle/AutoComplPop
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install vim-fugitive
git:
repo=https://github.com/tpope/vim-fugitive.git
dest=~/.vim/bundle/vim-fugitive
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
#- name: Install CtrlP
# git:
# repo=https://github.com/kien/ctrlp.vim.git
# dest=~/.vim/bundle/ctrlp.vim
# update=yes
# accept_hostkey=yes
# become: true
# become_user: "{{vim_user}}"
- name: Install rainbow_parentheses
git:
repo=https://github.com/kien/rainbow_parentheses.vim.git
dest=~/.vim/bundle/rainbow_parentheses
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install syntastic/
git:
repo=https://github.com/scrooloose/syntastic.git
dest=~/.vim/bundle/syntastic
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install tabular
git:
repo=https://github.com/godlygeek/tabular.git
dest=~/.vim/bundle/tabular
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install vim-bundler
git:
repo=https://github.com/tpope/vim-bundler.git
dest=~/.vim/bundle/vim-bundler
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install vim-javascript
git:
repo=https://github.com/pangloss/vim-javascript.git
dest=~/.vim/bundle/vim-javascript
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install vim-puppet
git:
repo=https://github.com/rodjek/vim-puppet.git
dest=~/.vim/bundle/vim-puppet
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install vim-rails
git:
repo=https://github.com/tpope/vim-rails.git
dest=~/.vim/bundle/vim-rails
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install vim-sensible
git:
repo=https://github.com/tpope/vim-sensible.git
dest=~/.vim/bundle/vim-sensible
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"
- name: Install YouCompleteMe
git:
repo=https://github.com/Valloric/YouCompleteMe.git
dest=~/.vim/bundle/YouCompleteMe
update=yes
accept_hostkey=yes
become: true
become_user: "{{vim_user}}"