ansible-roles/minifirewall-tail
Victor LABORIE cbd7772f76 minifirewall-tail: fix minifirewaall restart 2017-05-12 11:56:48 +02:00
..
meta minifirewall-tail: role for minifirewall customization with templates 2017-05-10 11:47:14 +02:00
tasks minifirewall-tail: fix minifirewaall restart 2017-05-12 11:56:48 +02:00
templates minifirewall-tail: simplify template selection 2017-05-10 14:33:37 +02:00
README.md minifirewall-tail: simplify template selection 2017-05-10 14:33:37 +02:00

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 :

  1. {{ playbook_dir}}/templates/minifirewall-tail/minifirewall.{{ inventory_hostname}}.tail.j2
  2. {{ playbook_dir}}/templates/minifirewall-tail/minifirewall.{{ host_group}}.tail.j2 (NB : host_group is not a core variable, it must be defined in group_vars files.)
  3. {{ 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