Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created September 6, 2013 10:30
Show Gist options
  • Save blissdev/6462143 to your computer and use it in GitHub Desktop.
Save blissdev/6462143 to your computer and use it in GitHub Desktop.
---
# Install Apache and PHP
- name: update apt
apt: update_cache=yes
sudo: yes
- name: install dependencies
apt: pkg=$item state=installed
sudo: yes
with_items:
- vim
- git
- apache2
- php5
- php-pear
- php-apc
- name: install pdo
shell: pecl install pdo
sudo: yes
- name: install pdo_pgsql
shell: pecl install pdo_pgsql
sudo: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment