debops / ansible-fail2ban

Install and configure fail2ban service
GNU General Public License v3.0
38 stars 15 forks source link

Restart fail2ban doesn't throw errors #6

Closed carlalexander closed 8 years ago

carlalexander commented 8 years ago

I'm still working on #5, but I've been running into this a lot when testing. Ansible says fail2ban restarted correctly when in fact it has not. You can see there's an error if you run service fail2ban restart manually.

Not sure if there's anything we can do about that. It would be good if the playbook could stop if there's an error in the fail2ban config.

drybjed commented 8 years ago

Since the issue was reported a few months ago, any new developments? Can you show the output of

debops service/fail2ban

Does it happen each time you run the playbook, or only the first time the host is configured?

drybjed commented 8 years ago

Also, what Ansible version, what OS release?

carlalexander commented 8 years ago

It was with the older fail2ban on trusty. There's a new issue now where it does throw an error. It was mentioned here.

carlalexander commented 8 years ago

This might be relevant.

carlalexander commented 8 years ago

This seems to be ok now. Closing.