Set up directory structure and a common role as well as a developer-machine role

This commit is contained in:
2017-05-09 20:25:07 -04:00
parent 309e1ce0c3
commit dcb40e00c5
6 changed files with 173 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
---
# 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