40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
---
|
|
# This playbook contains plays that will run on developer-machines
|
|
|
|
- name: Is rvm installed
|
|
shell: which rvm
|
|
register: rvm_installed
|
|
failed_when: "rvm_installed.rc == 2 or rvm_installed.rc == 3"
|
|
|
|
- name: Install rvm key
|
|
shell: gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
|
when: rvm_installed.stdout == ""
|
|
|
|
- name: Install rvm and latest ruby
|
|
shell: \curl -sSL https://get.rvm.io | bash -s stable
|
|
when: rvm_installed.stdout == ""
|
|
|
|
- name: Is heroku installed
|
|
shell: which heroku
|
|
register: heroku_installed
|
|
failed_when: "heroku_installed.rc == 2 or heroku_installed.rc == 3"
|
|
|
|
- name: Install heroku toolbelt
|
|
shell: wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
|
|
when: heroku_installed.stdout == ""
|
|
|
|
- name: Install siege
|
|
apt: name=siege state=present
|
|
|
|
- name: Install vim
|
|
apt: name=vim state=present
|
|
|
|
- name: Install tmux
|
|
apt: name=tmux state=present
|
|
|
|
- name: Install apache2-utils
|
|
apt: name=apache2-utils state=present
|
|
|
|
- name: Install xrdp
|
|
apt: name=xrdp state=present
|