Skip to content

Instantly share code, notes, and snippets.

@EHER
Last active December 11, 2015 11:39
Show Gist options
  • Save EHER/4595492 to your computer and use it in GitHub Desktop.
Save EHER/4595492 to your computer and use it in GitHub Desktop.
---
- hosts: loide
user: ubuntu
sudo: yes
tasks:
- name: ensure build-essential is installed
action: apt pkg=build-essential state=installed
- name: ensure devscripts is installed
action: apt pkg=devscripts state=installed
- name: ensure cdbs is installed
action: apt pkg=cdbs state=installed
- name: ensure redis-server is installed
action: apt pkg=redis-server state=installed
- name: ensure python-cyclone is installed
action: apt pkg=python-cyclone state=installed
- name: ensure python-pip is installed
action: apt pkg=python-pip state=installed
- name: ensure python-setuptools is installed
action: pip name=setuptools
- name: ensure python-simplejson is installed
action: pip name=simplejson
- name: ensure python-twisted is installed
action: pip name=twisted
- name: ensure python-redis is installed
action: pip name=redis
- name: ensure schroot is installed
action: apt pkg=schroot state=installed
- name: ensure cdebootstrap is installed
action: apt pkg=cdebootstrap state=installed
- name: ensure git is installed
action: apt pkg=git state=installed
- hosts: loide
user: ubuntu
tasks:
- name: clone Bricklayer repository
action: git repo=git://github.com/locaweb/bricklayer.git dest=~/bricklayer
- name: build Bricklayer
action: command dpkg-buildpackage -rfakeroot chdir=~/bricklayer
- hosts: loide
user: ubuntu
sudo: yes
tasks:
- name: install Bricklayer
action: command dpkg -i ../bricklayer*.deb chdir=~/bricklayer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment