26 lines
689 B
YAML
26 lines
689 B
YAML
---
|
|
# This playbook contains plays that will run on developer-machines
|
|
|
|
- name: Is rvm installed
|
|
shell: which rvm
|
|
register: rvm_installed
|
|
|
|
- name: Install rvm key
|
|
shell: gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
|
when: rvm_installed is none
|
|
|
|
- name: Install rvm and latest ruby
|
|
shell: \curl -sSL https://get.rvm.io | bash -s stable
|
|
when: rvm_installed is none
|
|
|
|
- name: Is heroku installed
|
|
shell: which heroku
|
|
register: heroku_installed
|
|
|
|
- name: Install heroku toolbelt
|
|
shell: wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
|
|
when: heroku_installed is none
|
|
|
|
- name: Install siege
|
|
apt: name=siege state=present
|