Update netbird role
This commit is contained in:
@@ -64,25 +64,25 @@
|
|||||||
command:
|
command:
|
||||||
cmd: /usr/local/bin/netbird up --setup-key {{ netbird_setup_key }} --management-url https://netbird.jthan.io:443
|
cmd: /usr/local/bin/netbird up --setup-key {{ netbird_setup_key }} --management-url https://netbird.jthan.io:443
|
||||||
|
|
||||||
- name: Create netbird firewalld zone
|
#- name: Create netbird firewalld zone
|
||||||
ansible.posix.firewalld:
|
# ansible.posix.firewalld:
|
||||||
zone: netbird
|
# zone: netbird
|
||||||
state: present
|
# state: present
|
||||||
permanent: true
|
# permanent: true
|
||||||
notify: restart firewalld
|
# notify: restart firewalld
|
||||||
|
#
|
||||||
- name: Set netbird zone target to ACCEPT
|
#- name: Set netbird zone target to ACCEPT
|
||||||
ansible.posix.firewalld:
|
# ansible.posix.firewalld:
|
||||||
zone: netbird
|
# zone: netbird
|
||||||
state: present
|
# state: present
|
||||||
permanent: true
|
# permanent: true
|
||||||
target: ACCEPT
|
# target: ACCEPT
|
||||||
notify: restart firewalld
|
# notify: restart firewalld
|
||||||
|
#
|
||||||
- name: Add netbird interface to netbird zone
|
#- name: Add netbird interface to netbird zone
|
||||||
ansible.posix.firewalld:
|
# ansible.posix.firewalld:
|
||||||
zone: netbird
|
# zone: netbird
|
||||||
interface: wt0
|
# interface: wt0
|
||||||
permanent: true
|
# permanent: true
|
||||||
state: enabled
|
# state: enabled
|
||||||
notify: restart firewalld
|
# notify: restart firewalld
|
||||||
|
|||||||
Reference in New Issue
Block a user