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

Restart services when init files change? #23

Open
mattduck opened this issue Jul 27, 2016 · 0 comments
Open

Restart services when init files change? #23

mattduck opened this issue Jul 27, 2016 · 0 comments

Comments

@mattduck
Copy link

Hey, thanks for putting this together.

I just had a situation where I updated the definition for
prometheus_node_exporter_opts, but after provisioning our servers I had to
manually reload the node_exporter service to apply the changes that were made
in the init script.

I believe we could handle this automatically by adding the restart node_exporter notifier to the three tasks here:
https://github.com/William-Yeh/ansible-prometheus/blob/master/tasks/install-node-exporter.yml#L94.
Is there any reason that this would be a bad idea?

(This might also apply to the equivalent tasks for the other components).

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

No branches or pull requests

2 participants