We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a84086 commit df585a6Copy full SHA for df585a6
src/main/scripts/ci/ansible/deploy.yml
@@ -33,10 +33,10 @@
33
state: paused
34
when: uptimerobot is defined and uptimerobot.monitorid != '' and uptimerobot.apikey != ''
35
36
+ # we can't use service module here because our sudoers allows to execute only exact commands
37
- name: Stopping service
- service:
38
- name: mystamps
39
- state: stopped
+ command:
+ systemctl stop mystamps
40
become: yes
41
become_user: root
42
become_method: sudo
@@ -50,10 +50,10 @@
50
mode: '0755'
51
backup: yes
52
53
54
- name: Starting service
55
56
- state: started
+ systemctl start mystamps
57
58
59
0 commit comments