blob: e85d1cbc6d5b4b2fc3ba3952767f2d446e0d053c (
plain)
1
2
3
4
5
6
7
8
9
10
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
|