File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/main/scripts/ci/ansible Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 33
33
state : paused
34
34
when : uptimerobot is defined and uptimerobot.monitorid != '' and uptimerobot.apikey != ''
35
35
36
+ # we can't use service module here because our sudoers allows to execute only exact commands
36
37
- name : Stopping service
37
- service :
38
- name : mystamps
39
- state : stopped
38
+ command :
39
+ systemctl stop mystamps
40
40
become : yes
41
41
become_user : root
42
42
become_method : sudo
50
50
mode : ' 0755'
51
51
backup : yes
52
52
53
+ # we can't use service module here because our sudoers allows to execute only exact commands
53
54
- name : Starting service
54
- service :
55
- name : mystamps
56
- state : started
55
+ command :
56
+ systemctl start mystamps
57
57
become : yes
58
58
become_user : root
59
59
become_method : sudo
You can’t perform that action at this time.
0 commit comments