add ufw rule
This commit is contained in:
parent
9890631620
commit
16eec1af27
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,11 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
- name: Ensure UFW allow traffic to port
|
||||||
|
ufw:
|
||||||
|
rule: allow
|
||||||
|
port: "{{ listen_port }}"
|
||||||
|
|
||||||
# - name: Configure administrators
|
# - name: Configure administrators
|
||||||
# shell: "ntfy user add --role=admin {{ item.name }}"
|
# shell: "ntfy user add --role=admin {{ item.name }}"
|
||||||
# loop: "{{ admin_accounts }}"
|
# loop: "{{ admin_accounts }}"
|
||||||
|
|
Loading…
Reference in a new issue