summaryrefslogtreecommitdiff
path: root/roles/wgtor/handlers/main.yml
blob: 9f1d3c50d6a1b1ab7d9109c55c13b682e7821e33 (plain) (blame)
1
2
3
4
5
6
7
# Use restart instead of reload, because reload uses `wg syncconf` under the
# hood, which only updates config, but do not run `PostUp` and `PostDown`
# hooks.
- name: Restart wgtor
  ansible.builtin.service:
    name: wg-quick@wg2
    state: restarted