Timotej Lazar
25bcddede1
Consolidate base system and networking setup into debian role and BGP configuration into frr role. Add facts role to collect data from NetBox once to avoid many slow lookups. Also many other tweaks and cleanups.
17 lines
283 B
YAML
17 lines
283 B
YAML
- 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
|