From bdcdef09c9faae0e111586fe8a811b36e84ec0d7 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 13 Oct 2021 17:03:26 +0200 Subject: [PATCH] Fix the handler when using mongodb-org. --- tasks/mongodb.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/mongodb.yml b/tasks/mongodb.yml index e67780c..0b67931 100644 --- a/tasks/mongodb.yml +++ b/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: