Fix firewall role.
pflog was creating /-i as a file because the logfile was undefined.
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user