diff --git a/mongodb-org/tasks/mongodb.yml b/mongodb-org/tasks/mongodb.yml index 97006b50..23438a98 100644 --- a/mongodb-org/tasks/mongodb.yml +++ b/mongodb-org/tasks/mongodb.yml @@ -41,7 +41,7 @@ - block: - name: Install/Update the mongodb configuration template: src=mongod-{{ mongodb_version }}.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0444 backup=yes - when: mongodb_install_conf or mongodb_update_conf + when: mongodb_install_conf notify: Restart mongodb when: mongodb_install_server