From 16eec1af276a96259945952ce2ab9141d82e6882 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 10 Feb 2023 00:22:17 +0200 Subject: [PATCH] add ufw rule --- tasks/configure.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/configure.yml b/tasks/configure.yml index d3f771b..c15ced0 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -45,6 +45,11 @@ state: started enabled: true +- name: Ensure UFW allow traffic to port + ufw: + rule: allow + port: "{{ listen_port }}" + # - name: Configure administrators # shell: "ntfy user add --role=admin {{ item.name }}" # loop: "{{ admin_accounts }}"