Get basset frontend and most of backend into ansible

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-03-16 21:45:24 +00:00
parent 23b420db3f
commit 8aacb87290
6 changed files with 83 additions and 0 deletions

View file

@ -0,0 +1,11 @@
- name: install needed packages
yum: pkg={{ item }} state=present
with_items:
- mongodb-server
tags: mongodb
# mongod is the single daemon. mongos is a sharded cluster router,
# but just plain mongod is good enough for now
- name: start mongodb
service: name=mongod state=started enabled=yes
tags: mongodb