Add role
This commit is contained in:
16
handlers/main.yml
Normal file
16
handlers/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- name: apt-update
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: Restart ndppd
|
||||
service:
|
||||
name: ndppd
|
||||
state: restarted
|
||||
|
||||
- name: Reload nftables
|
||||
command: /usr/sbin/nft -f /etc/nftables.conf
|
||||
|
||||
- name: Restart wg-quick service
|
||||
service:
|
||||
name: "wg-quick@{{ wireguard_if }}"
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user