Skip to content
New issue

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

Flush handlers at the end of the role #124

Open
abelfodil opened this issue Sep 30, 2021 · 1 comment
Open

Flush handlers at the end of the role #124

abelfodil opened this issue Sep 30, 2021 · 1 comment

Comments

@abelfodil
Copy link
Contributor

This ensures the syncconf is called at the end of the role before moving on, otherwise it's only called at the end of the play.

The code would look like:

- name: Force all notified handlers to run
  meta: flush_handlers
@githubixx
Copy link
Owner

I'm thinking about it. But it'd be definitely optional as it'd change the current behavior of the role. So adding a variable like wireguard_flush_handlers: true|false might be an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants