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.
2 parents 3cc5ee6 + b949a5e commit d10f291Copy full SHA for d10f291
tasks/install.deb.yml
@@ -6,6 +6,7 @@
6
command: cat /proc/1/cmdline
7
register: systemd
8
changed_when: false
9
+ always_run: yes # side-effect free, so it can be run in check-mode as well
10
11
- name: Add systemd configuration if present
12
copy: src=mongodb.service dest=/lib/systemd/system/mongodb.service owner=root group=root mode=0640
tasks/main.yml
@@ -28,6 +28,7 @@
28
-p {{ mongodb_user_admin_password }} --eval 'db.version()' admin
29
register: mongodb_user_admin_check
30
31
32
ignore_errors: true
33
when: ( mongodb_security_authorization == 'enabled'
34
and (not mongodb_replication_replset
0 commit comments