Skip to content

Commit

Permalink
Replace service with systemd module to support daemon-reload argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kazauwa committed Mar 16, 2024
1 parent 2510b05 commit e8a97d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
- name: Restart headscale service
ansible.builtin.service:
ansible.builtin.systemd:
name: headscale
state: restarted
enabled: true
daemon-reload: true
listen: 'restart headscale'

- name: Reload headscale
ansible.builtin.service:
ansible.builtin.systemd:
name: headscale
state: reloaded
listen: 'reload headscale'

0 comments on commit e8a97d9

Please sign in to comment.