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