Skip to content

Instantly share code, notes, and snippets.

@AnneTheAgile
Created August 16, 2014 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnneTheAgile/28db99bd15718d2d1fe7 to your computer and use it in GitHub Desktop.
Save AnneTheAgile/28db99bd15718d2d1fe7 to your computer and use it in GitHub Desktop.
talk-battle-playbook-gist
---
- hosts: workstation
# https://dl.dropboxusercontent.com/u/622216/battleschool/playbooks/playbook.yml
# via
# https://github.com/spencergibb/battleschool
tasks:
- name: print from playbook
debug: msg="in Examples ! playbooks/playbook.yml"
- name: easy install pip
easy_install: name=pip
sudo: yes
- name: install apps from pip
pip: name={{item}}
sudo: yes
with_items:
- virtualenv
- cliff
- pyyaml
- awscli
- name: install apps from homebrew
homebrew: name={{item}} state=present
with_items:
- coreutils
- git
- node
- maven
- rbenv
- dos2unix
- ruby
- tomcat
- wget
- ctags
- dnsmasq
# requires node/npm from above
- name: install global apps from npm
npm: name={{item}} global=yes
with_items:
- grunt-cli
#- name: create homdir symlinks
# file: src={{item.from}} dest={{item.to}} state=link
# sudo: no
# with_items:
# - from: ~/Dropbox/ubuntu/.bash_aliases
# to: ~/.bash_aliases
# //Lots elided...
# - name: install gems
# gem: name={{item}} state=latest
# with_items:
# - brewbygems
# - bundler
# - compass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment