Adding PF include file paths to defaults
This commit is contained in:
parent
39f82c2fe0
commit
bbaf0472a3
2 changed files with 4 additions and 1 deletions
|
@ -22,6 +22,9 @@ dynamic_jails_dataset_name: >-
|
|||
{{ zroot_name }}/dynamic-jails-root
|
||||
dynamic_jails_path: >-
|
||||
{{ jail_path }}/dynamic-jails
|
||||
pf_include_macros_path: '{{ dynamic_jails_path }}/configs/pf-include-macros.conf'
|
||||
pf_include_translation_path: '{{ dynamic_jails_path }}/configs/pf-include-translation.conf'
|
||||
pf_include_filtering_path: '{{ dynamic_jails_path }}/configs/pf-include-filtering.conf'
|
||||
|
||||
valid_jail_ips: "{{ lookup('pipe', 'seq -f 127.0.0.%g 2 254').split() }}"
|
||||
used_jail_ips: >-
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- name: Put syslog jail IP into /etc/hosts
|
||||
- name: Put {{ jail_name }} jail IP into /etc/hosts
|
||||
lineinfile:
|
||||
dest: '{{ vars["jail_" + jail_name + "_new_path"] }}/etc/hosts'
|
||||
# Hostname + 2 tabulators here
|
||||
|
|
Loading…
Reference in a new issue