servers/roles/proxmox-backup/tasks/firewall.yml

17 lines
283 B
YAML
Raw Permalink Normal View History

2024-09-10 12:53:46 +00:00
- name: Install nftables
package:
name: nftables
- name: Configure nftables
template:
dest: /etc/nftables.conf
src: nftables.conf.j2
mode: 0644
notify: reload nftables
- name: Enable nftables
service:
name: nftables
enabled: true
state: started