We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When we push a change to our fail2ban configuration, the change should kick off ("notify" in Ansible terminology) a handler to restart the service.
When we push a change to our fail2ban configuration, the task that restarts the handler does not run.
Change the fail2ban configuration in the nginxplus role, run the playbook to update it.
Changes to fail2ban configuration are not immediately applied.
We do have a restart fail2ban handler. However, in the install-prerequisites.yml file, only one task notifies that handler. Documentation about Ansible handlers.
Add notify: restart fail2ban to any task in install-prerequisites.yml that should run the handler to force a restart of the fail2ban service.
notify: restart fail2ban
install-prerequisites.yml
fail2ban
The text was updated successfully, but these errors were encountered:
aruiz1789
No branches or pull requests
Expected behavior
When we push a change to our fail2ban configuration, the change should kick off ("notify" in Ansible terminology) a handler to restart the service.
Actual behavior
When we push a change to our fail2ban configuration, the task that restarts the handler does not run.
Steps to replicate
Change the fail2ban configuration in the nginxplus role, run the playbook to update it.
Impact of this bug
Changes to fail2ban configuration are not immediately applied.
Relevant links and code snippets, if applicable
We do have a restart fail2ban handler.
However, in the install-prerequisites.yml file, only one task notifies that handler.
Documentation about Ansible handlers.
Implementation notes, if any
Add
notify: restart fail2ban
to any task ininstall-prerequisites.yml
that should run the handler to force a restart of thefail2ban
service.The text was updated successfully, but these errors were encountered: