--- - name: Allow traffic to specific ports ufw: rule: allow port: "{{ item }}" loop: "{{ ufw_allow_ports }}"