infrastructure/ansible/roles/ingress/tasks/firewall.yml
Jake Howard 850278ab19
Some checks failed
/ terraform (push) Successful in 1m6s
/ ansible (push) Failing after 2m8s
Allow nebula through firewall
2023-11-03 18:06:36 +00:00

19 lines
345 B
YAML

- name: Install nftables
package:
name: nftables
become: true
- name: Copy firewall config
template:
src: files/nftables.conf
dest: /etc/nftables.conf
validate: nft -c -f %s
become: true
notify: reload nftables
- name: Enable nftables
service:
name: nftables
enabled: true
state: started
become: true