Update 'tasks/mongodb.yml' #2

Merged
tommaso.piccioli merged 1 commits from tommaso.piccioli-patch-2 into master 2021-10-13 15:57:43 +02:00
1 changed files with 2 additions and 2 deletions

View File

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