Merge pull request 'Update 'tasks/mongodb.yml'' (!2) from tommaso.piccioli-patch-2 into master

Reviewed-on: #2
This commit is contained in:
Tommaso Piccioli 2021-10-13 15:57:42 +02:00
commit f24f281dc6
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: