Skip to content

Instantly share code, notes, and snippets.

@chrisking
Created May 18, 2016 16:07
Show Gist options
  • Select an option

  • Save chrisking/7bd1ceb78ae6296e5ac38093a160c430 to your computer and use it in GitHub Desktop.

Select an option

Save chrisking/7bd1ceb78ae6296e5ac38093a160c430 to your computer and use it in GitHub Desktop.
---
- hosts: all
sudo: true
tasks:
- name: Update Apt's Cache
apt: update_cache=yes
- name: Add Ubuntu Extra Repo Support
apt: name={{ item }} update_cache=yes state=latest
with_items:
- software-properties-common
- name: Install All System Software Packages
apt: name={{ item }} update_cache=yes state=latest
with_items:
- git-core
- build-essential
- python3-dev
- postgresql
- libpq-dev
- python-pip
- htop
- name: Create Virtualenv Home
file: path=/home/vagrant/.virtualenvs owner=vagrant recurse=yes state=directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment