Skip to content

Instantly share code, notes, and snippets.

@tanji
Created January 5, 2015 13:50
Show Gist options
  • Save tanji/8ebb6ef1926fbb442d1f to your computer and use it in GitHub Desktop.
Save tanji/8ebb6ef1926fbb442d1f to your computer and use it in GitHub Desktop.
A couchbase 3.0 ansible playbook.
- hosts: lab
user: root
tasks:
- name: download couchbase package
get_url: url=http://packages.couchbase.com/releases/3.0.1/couchbase-server-enterprise_3.0.1-debian7_amd64.deb dest=/tmp/
- name: install couchbase package
apt: deb=/tmp/couchbase-server-enterprise_3.0.1-debian7_amd64.deb
- name: create couchbase datadir
file: path=/data/couchbase owner=couchbase group=couchbase state=directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment