Sha256: e5d5a3267f71552a77bfbfb22aa6ff43d27dee63edab1eadf46c79bb6b01e97e

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

---
- name: add keyscan to allow basic access to github
  shell: ssh-keyscan github.com >> /etc/ssh/ssh_known_hosts

- name: install basic packages
  apt: pkg={{item}} state=present update_cache=yes
  with_items:
    - build-essential
    - git-core
    - curl
    - wget
    - cmake
    - python-dev

- name: add apt-get repository for latest vim
  action: apt_repository repo=ppa:fcwu-tw/ppa

- name: install vim
  apt: name=vim state=latest update_cache=yes

- name: copy .vimrc
  template: src=vimrc dest=/home/{{ deploy_user}}/.vimrc owner={{ deploy_user }} group={{ deploy_user }}

- name: check if NeoBundle exists
  shell:  test -d /home/{{ deploy_user }}/.vim/bundle/.neobundle && echo true
  register: neobundle_installed
  ignore_errors: yes

- name: download NeoBundle plugin for vim
  git: repo=git://github.com/Shougo/neobundle.vim dest=/home/{{ deploy_user }}/.vim/bundle/neobundle.vim
  when: neobundle_installed|failed

- name: check if YouCompleteMe exists
  shell:  test -d /home/{{ deploy_user }}/.vim/bundle/YouCompleteMe && echo true
  register: ycm_installed
  ignore_errors: yes

- name: download YouCompleteMe plugin for vim
  git: repo=git://github.com/Valloric/YouCompleteMe dest=/home/{{ deploy_user }}/.vim/bundle/YouCompleteMe
  when: ycm_installed|failed

- name: change .vim permissions
  file: path=/home/{{ deploy_user }}/.vim owner={{ deploy_user }} group={{ deploy_user }} recurse=yes state=directory

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-ahoy-0.0.2 lib/generators/ahoy/templates/ansible/playbooks/roles/essentials/tasks/main.yml
rails-ahoy-0.0.1 lib/generators/ahoy/templates/ansible/playbooks/roles/essentials/tasks/main.yml