servers/roles/proxmox/tasks/firewall.yml
Timotej Lazar be915dcf69 proxmox: only install firewall rules on one node
And let the cluster take care of distribution.
2024-05-14 12:40:33 +02:00

9 lines
187 B
YAML

- name: Set up firewall
template:
dest: /etc/pve/firewall/cluster.fw
src: cluster.fw.j2
mode: 0640
owner: root
group: www-data
when: inventory_hostname == primary