2014-06-04 15:03:58 +00:00
|
|
|
---
|
|
|
|
|
2014-06-04 15:09:28 +00:00
|
|
|
- name: Configure mongodb
|
2014-07-30 17:32:46 +00:00
|
|
|
template: src=mongod.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0644
|
2014-06-04 15:09:28 +00:00
|
|
|
notify: mongodb reload
|
2014-07-10 16:07:35 +00:00
|
|
|
|
|
|
|
- name: Configure log rotation
|
|
|
|
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/mongodb.conf
|
|
|
|
when: mongodb_logrotate
|