mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
d3fed1ab2c
commit
87297973d6
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@
|
|||
|
||||
# 6. RESTART/STOP SYSTEMD SERVICE
|
||||
|
||||
- name: Enable service if enabled, with "systemctl daemon-reload" (in case sugarizer.service changed?)
|
||||
- name: Enable+restart systemd service if sugarizer_enabled, with "systemctl daemon-reload" (in case mongodb.service changed?)
|
||||
systemd:
|
||||
name: sugarizer
|
||||
enabled: yes
|
||||
|
@ -190,7 +190,7 @@
|
|||
daemon_reload: yes
|
||||
when: sugarizer_enabled
|
||||
|
||||
- name: Disable service if not enabled
|
||||
- name: Disable+stop systemd service if sugarizer_enabled: False
|
||||
systemd:
|
||||
name: sugarizer
|
||||
enabled: no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue