1
2
3
4
5
6
7 ---
- name: "[nftables] Create rule for: fritzbox-exporter"
copy:
src: nftables-rule.nft
dest: /etc/nftables.d/fritzbox-exporter.nft
notify: Restart nftables
My personal ansible roles and playbooks [deprecated in favor of nixos]
1
2
3
4
5
6
7 ---
- name: "[nftables] Create rule for: fritzbox-exporter"
copy:
src: nftables-rule.nft
dest: /etc/nftables.d/fritzbox-exporter.nft
notify: Restart nftables