Fix the handler when using mongodb-org.

feauture/20970
Andrea Dell'Amico 3 years ago
parent c818b8ac05
commit bdcdef09c9
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF

@ -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