Skip to content

Commit

Permalink
Restart systemctl as root; handler
Browse files Browse the repository at this point in the history
  • Loading branch information
peterMuriuki committed Feb 6, 2020
1 parent 418f268 commit 7ea3df3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
- name: start_express_service
become: true
become_user: root
systemd:
name: "{{ express_service_name }}"
state: started
state: restarted
daemon_reload: true
enabled: true

0 comments on commit 7ea3df3

Please sign in to comment.