From 07303c43bc5f864f23c84c6eab7425c0455e36ac Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 26 Sep 2023 09:42:43 +0300 Subject: [PATCH] Add default web port --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 3c52400..7602dbd 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -7,7 +7,7 @@ - name: Allow HTTP traffic for vhosts ufw: rule: allow - port: "{{ item.web_port }}" + port: "{{ item.web_port | default(80) }}" loop: "{{ vhosts }}" - name: Allow HTTPS default traffic