Skip to content

Commit ca4a889

Browse files
committed
refactor(mystamps-app): use systemd role instead of command.
Fix #998 [skip ci]
1 parent 6185bdc commit ca4a889

File tree

1 file changed

+3
-5
lines changed
  • vagrant/provisioning/roles/mystamps-app/handlers

1 file changed

+3
-5
lines changed

vagrant/provisioning/roles/mystamps-app/handlers/main.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22

3-
# @todo #399 mystamps-app: use systemd module
4-
# (requires ansible 2.2+)
5-
- name: Reloading systemd service # noqa 303
6-
command:
7-
systemctl daemon-reload
3+
- name: Reloading systemd service
4+
systemd:
5+
daemon_reload: yes
86

97
- name: Restarting mystamps service
108
service:

0 commit comments

Comments
 (0)