Get basset frontend and most of backend into ansible
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
23b420db3f
commit
8aacb87290
6 changed files with 83 additions and 0 deletions
11
roles/mongodb/tasks/main.yml
Normal file
11
roles/mongodb/tasks/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue