Skip to content

Instantly share code, notes, and snippets.

@chadoh
Created October 29, 2013 14:08
Show Gist options
  • Save chadoh/7215343 to your computer and use it in GitHub Desktop.
Save chadoh/7215343 to your computer and use it in GitHub Desktop.
---
- name: add apt repo for redis
# from http://ph.ly/dotdeb
apt_repository: repo="deb http://packages.dotdeb.org squeeze all"
sudo: yes
- name: Update apt
apt: update_cache=yes
sudo: yes
- name: Install app packages
apt: pkg=$item state=latest
sudo: yes
with_items:
- git-core
- build-essential
- curl
- memcached
- imagemagick
- libxml2 # needed for nokogiri
- libxml2-dev
- libxslt1-dev
- openjdk-6-jre # needed for compiling assets with Jammit
- name: install packages that require forcing (the packages cannot be verified)
apt: pkg=$item state=latest force=yes
sudo: yes
with_items:
- redis-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment