Install CouchDB including per-user CouchDB plugin.
git, curl, build-essential. Requirements are installed by the role.
No dependencies.
- hosts: servers
roles:
- role: ansible-couchdb-peruser
couchdb:
version: 1.6.0
src: "/home/couchdb/src/couchdb"
dest: "/home/couchdb/opt/couchdb"
database_dir: "/var/lib/couchdb"
ini: "local.ini.j2"
repo: "git://github.com/apache/couchdb.git"
host: "0.0.0.0"
port: 5984
peruser_version: 1.0.1
peruser_src: "/home/couchdb/src/couchdb-1.0.1"
peruser_dst: "${couchdb.dest}/lib/couchdb/plugins/couchperuser"
peruser_repo: "git://github.com/etrepum/couchperuser.git"
rebar_version: 2.5.1
rebar_src: "/home/couchdb/src/rebar-2.5.1"
rebar_repo: "git://github.com/rebar/rebar.git"
BSD
Sven Lito