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 aa3a8bf commit 11c4200Copy full SHA for 11c4200
tasks/configure.yml
@@ -40,6 +40,7 @@
40
- name: get pid of mongod
41
command: pidof mongod
42
register: mongod_pid
43
+ changed_when: false
44
ignore_errors: True
45
46
- name: temporary start mongod if not started
@@ -87,6 +88,7 @@
87
88
89
90
register: mongod_new_pid
91
92
when: mongod_pid.rc != 0
93
94
- name: kill temporary mongod if started
tasks/install.deb.yml
@@ -5,6 +5,7 @@
5
- name: Check if running on systemd
6
command: cat /proc/1/cmdline
7
register: systemd
8
9
10
- name: Add systemd configuration if present
11
copy: src=mongodb.service dest=/lib/systemd/system/mongodb.service owner=root group=root mode=0640
0 commit comments