Browse Source

Fix the handler when using mongodb-org.

master
Andrea Dell'Amico 2 months ago
parent
commit
bdcdef09c9
Signed by: andrea.dellamico GPG Key ID: 147ABE6CEB9E20FF
  1. 4
      tasks/mongodb.yml

4
tasks/mongodb.yml

@ -36,7 +36,7 @@
- name: Install/Update the mongodb-org configuration
template: src=mongod-{{ mongodb_version }}.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0444 backup=yes
when: mongodb_install_conf
notify: Restart mongodb
notify: Restart mongod
tags: [ 'mongodb', 'mongodb_update_conf', 'mongodb_keyfile' ]
when:
@ -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 mongodb
notify: Restart mongod
tags: [ 'mongodb', 'mongodb_update_conf' ]
when:

Loading…
Cancel
Save