Closed rohankrishnadev closed 4 years ago
Sorry, I did not see your issue until today. Good suggestion, I'll work on it!
Need to test and release. Closing when done, could take an hour or two.
That was quicker than expected, the tests were successful and release to galaxy has been done, version 3.0.0.
Thanks @rohankrishnadev for your help!
Is your feature request related to a problem? Please describe. This role modifies the jail.conf file for customisation. This file gets overwritten with every update.
Describe the solution you'd like According to fail2ban the recommended approach would be to provide customisations in jail.local or jail.d/customisation.local file. Switching jail.conf to jail.local in main.yml should do the trick.
Describe alternatives you've considered It might be worth considering putting in a template customisation.local file with sane defaults which the user can switch with their own. This could be done by playbook pathing. The file name could be provided in a variable, that way the user won't have to modify the role.
Additional context N/A