infrastructure/ansible/roles/ingress/handlers/main.yml
2023-10-26 21:34:06 +01:00

20 lines
293 B
YAML

- name: restart wireguard
service:
name: wg-quick@wg0
state: restarted
become: true
- name: restart nginx
service:
name: nginx
state: restarted
become: true
- name: reload nftables
command:
argv:
- nft
- -f
- /etc/nftables.conf
become: true