Update 'tasks/mongodb.yml'

tommaso.piccioli-patch-2
Tommaso Piccioli 3 years ago
parent abd318b3c6
commit 60d5cfde58

@ -55,7 +55,7 @@
- name: Install the mongodb-org defaults file
template: src=mongod-default.j2 dest=/etc/default/mongod owner=root group=root mode=0444
when: mongodb_install_conf
notify: Restart mongod
notify: Restart mongodb
tags: [ 'mongodb', 'mongodb_update_conf' ]
when:
@ -75,7 +75,7 @@
- name: Install/Update the mongodb configuration
template: src=mongod-{{ mongodb_version }}.conf.j2 dest=/etc/mongodb.conf owner=root group=root mode=0444 backup=yes
when: mongodb_install_conf
notify: Restart mongod
notify: Restart mongodb
tags: [ 'mongodb', 'mongodb_update_conf' ]
when:

Loading…
Cancel
Save