Migrate to the mongo-org package

This commit is contained in:
Kirill Klenov 2014-07-30 18:32:46 +01:00
parent 804b562713
commit 804d89698b
5 changed files with 6 additions and 6 deletions

View File

@ -4,11 +4,11 @@ mongodb_enabled: yes
mongodb_packages:
- python-selinux
- python-pymongo
- mongodb-10gen
- mongodb-org
# Configuration
mongodb_dbpath: /var/lib/mongodb
mongodb_logpath: /var/log/mongodb/mongodb.log
mongodb_logpath: /var/log/mongodb/mongod.log
mongodb_port: 27017
mongodb_nojournal: true
mongodb_cpu: true

View File

@ -1,7 +1,7 @@
---
- name: mongodb reload
service: name=mongodb state=reloaded
service: name=mongod state=reloaded
- name: mongodb restart
service: name=mongodb state=restarted
service: name=mongod state=restarted

View File

@ -1,7 +1,7 @@
---
- name: Configure mongodb
template: src=mongodb.conf.j2 dest=/etc/mongodb.conf owner=root group=root mode=0644
template: src=mongod.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0644
notify: mongodb reload
- name: Configure log rotation

View File

@ -4,6 +4,6 @@
when: ansible_os_family == 'Debian'
- name: Ensure mongodb is started
service: name=mongodb state=started
service: name=mongod state=started
- include: configure.yml