We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845f25d commit b3a6806Copy full SHA for b3a6806
tasks/configure.yml
@@ -13,6 +13,12 @@
13
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/mongodb.conf
14
when: mongodb_logrotate
15
16
+- name: ensure mongodb started and enabled
17
+ service: name={{ mongodb_daemon_name }} state=started enabled=yes
18
+
19
+- include: auth_initialization.yml
20
+ when: mongodb_conf_auth
21
22
- name: Create mongodb user
23
user: name={{mongodb_user}} group={{mongodb_user}}
24
0 commit comments