Oefenweb / ansible-fail2ban

Ansible role to set up fail2ban in Debian-like systems
MIT License
117 stars 55 forks source link

Allow multiline 'ansible_managed' without breaking fail2ban #63

Closed weyhmueller closed 3 years ago

weyhmueller commented 3 years ago

We use this role in an environment where users used to modify files managed by ansible because they overlooked the single line comment that {{ ansible_managed }} inserts by default. As a countermeasure we now use a huge text block spanning several lines to make this more clear.

This commit allows using {{ ansible_managed }} even if it spans multiple lines.