fp/ansible/roles/our/tasks/firewall.yml
CJ_Clippy 8ef71691e0
Some checks are pending
fp/our CI/CD / build (push) Waiting to run
ci / test (push) Waiting to run
use container port 3000
2025-10-07 04:12:07 -08:00

11 lines
262 B
YAML

---
- name: Allow Docker Swarm ports on enp8s0
community.general.ufw:
rule: allow
port: "{{ item.port }}"
proto: "{{ item.proto }}"
direction: in
interface: enp8s0
loop:
- { port: "{{ our_published_port }}", proto: tcp } # our server