1
2
3
4
5
6
7
8
9 ---
- name: "[nftables] Create rule for: acme-redirect"
copy:
src: nftables-rule.nft
dest: /etc/nftables.d/acme-redirect.nft
when:
- network.nftables.enable is true
notify: Restart nftables
My personal ansible roles and playbooks [deprecated in favor of nixos]
1
2
3
4
5
6
7
8
9 ---
- name: "[nftables] Create rule for: acme-redirect"
copy:
src: nftables-rule.nft
dest: /etc/nftables.d/acme-redirect.nft
when:
- network.nftables.enable is true
notify: Restart nftables