add ufw rule

This commit is contained in:
Antonio J. Delgado 2023-02-10 00:22:17 +02:00
parent 9890631620
commit 16eec1af27

View file

@ -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 }}"