Fix firewall role.
pflog was creating /-i as a file because the logfile was undefined.
This commit is contained in:
parent
a9d1e9f86a
commit
9bf06cc90e
@ -10,7 +10,7 @@
|
||||
- network
|
||||
- sshd
|
||||
- base
|
||||
# - firewall
|
||||
- firewall
|
||||
- cpu
|
||||
- ntp
|
||||
- build
|
||||
|
@ -67,3 +67,11 @@
|
||||
value: "{{ item.dev }}"
|
||||
path: /etc/rc.conf.d/pflog
|
||||
loop: "{{ pflog_conf }}"
|
||||
|
||||
- name: Set pflog logfile names
|
||||
notify: restart pflog
|
||||
community.general.sysrc:
|
||||
name: "pflog_{{item.name}}_logfile"
|
||||
value: "{{ item.logfile|default('/var/log/' + item.dev) }}"
|
||||
path: /etc/rc.conf.d/pflog
|
||||
loop: "{{ pflog_conf }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user