add handler plus calls

This commit is contained in:
2026-04-17 22:34:50 -06:00
parent 3db5b84a0f
commit 644af729ee
2 changed files with 8 additions and 0 deletions

View File

@@ -2,3 +2,8 @@
service:
name: netbird
state: restarted
- name: restart firewalld
service:
name: firewalld
state: restarted

View File

@@ -69,6 +69,7 @@
zone: netbird
state: present
permanent: true
notify: restart firewalld
- name: Set netbird zone target to ACCEPT
ansible.posix.firewalld:
@@ -76,6 +77,7 @@
state: present
permanent: true
target: ACCEPT
notify: restart firewalld
- name: Add netbird interface to netbird zone
ansible.posix.firewalld:
@@ -83,3 +85,4 @@
interface: wt0
permanent: true
state: enabled
notify: restart firewalld