forked from evolix/ansible-roles
.. | ||
meta | ||
tasks | ||
templates | ||
README.md |
minifirewall-tail
Compiles a minifirewall.tail
file based on templates and source it at the end of minifirewall configuration.
Templates are looked up in that order :
{{ playbook_dir}}/templates/minifirewall-tail/minifirewall.{{ inventory_hostname}}.tail.j2
{{ playbook_dir}}/templates/minifirewall-tail/minifirewall.{{ host_group}}.tail.j2
(NB :host_group
is not a core variable, it must be defined ingroup_vars
files.){{ playbook_dir}}/templates/minifirewall-tail/minifirewall.default.tail.j2
If nothing is found, the role falls back to the template embedded in the role : templates/minifirewall.default.tail.j2