Create a firewall role that installs a pf.conf on FreeBSD.
Does not yet configure pflog nor does it do anything on Linux.
This commit is contained in:
8
ansible/roles/firewall/tasks/peruser.yaml
Normal file
8
ansible/roles/firewall/tasks/peruser.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
- include_role:
|
||||
name: per_user
|
||||
|
||||
- import_tasks: tasks/peruser_freebsd.yaml
|
||||
when: 'os_flavor == "freebsd"'
|
||||
|
||||
- import_tasks: tasks/peruser_linux.yaml
|
||||
when: 'os_flavor == "linux"'
|
||||
Reference in New Issue
Block a user