Files
fedora-infra_ansible/roles/mongodb/tasks/main.yml
Patrick Uiterwijk 8aacb87290 Get basset frontend and most of backend into ansible
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-03-16 21:45:31 +00:00

12 lines
319 B
YAML

- 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