Adding PF include file paths to defaults

This commit is contained in:
László Károlyi 2017-03-12 23:28:05 +01:00
parent 39f82c2fe0
commit bbaf0472a3
No known key found for this signature in database
GPG key ID: 372AA22D38BD5B13
2 changed files with 4 additions and 1 deletions

View file

@ -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: >-

View file

@ -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