Collection of roles to configure FreeBSD servers:
Role kravietz.freebsd.config
— essential system configuration: /etc/rc.conf
, sysctl.conf
,
/boot/loader.conf
, custom config files and directories.
- Documentation freebsd/roles/config/README.md
- Variables: freebsd/roles/config/defaults/main.yaml
- Example: freebsd/tests/config.yaml
Role kravietz.freebsd.pf
— manage pf
firewall with multi-level Ansible group and host rules.
- Documentation freebsd/roles/pf/README.md
- Variables: freebsd/roles/pf/defaults/main.yaml
- Example: freebsd/roles/tests/pf.yaml
Role kravietz.freebsd.ipfw
— manage ipfw
FreeBSD native firewall.
- Documentation freebsd/roles/ipfw/README.md
- Variables: freebsd/roles/ipfw/defaults/main.yaml
- Example: freebsd/freebsd/tests/ipfw.yaml
The code for merging variables across groups has been inspired by ipr-cnrs/nftables, which in turn was inspired by mikegleasonjr/ansible-role-firewall.