Add default web port

This commit is contained in:
Antonio J. Delgado 2023-09-26 09:42:43 +03:00
parent 312a5e4053
commit 07303c43bc

View file

@ -7,7 +7,7 @@
- name: Allow HTTP traffic for vhosts - name: Allow HTTP traffic for vhosts
ufw: ufw:
rule: allow rule: allow
port: "{{ item.web_port }}" port: "{{ item.web_port | default(80) }}"
loop: "{{ vhosts }}" loop: "{{ vhosts }}"
- name: Allow HTTPS default traffic - name: Allow HTTPS default traffic