Created
October 29, 2013 14:08
-
-
Save chadoh/7215343 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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