Add server watch dependency on bin_link to restart the service when
a new version is deployed
This commit is contained in:
parent
7e2843fb31
commit
f9363e9e27
4 changed files with 4 additions and 0 deletions
|
@ -76,3 +76,4 @@ alertmanager_service:
|
||||||
- reload: True
|
- reload: True
|
||||||
- watch:
|
- watch:
|
||||||
- file: alertmanager_config
|
- file: alertmanager_config
|
||||||
|
- file: alertmanager_bin_link
|
||||||
|
|
|
@ -46,3 +46,4 @@ blackbox_exporter_service:
|
||||||
- reload: True
|
- reload: True
|
||||||
- watch:
|
- watch:
|
||||||
- file: blackbox_exporter_defaults
|
- file: blackbox_exporter_defaults
|
||||||
|
- file: blackbox_exporter_bin_link
|
||||||
|
|
|
@ -44,3 +44,4 @@ node_exporter_service:
|
||||||
- reload: True
|
- reload: True
|
||||||
- watch:
|
- watch:
|
||||||
- file: node_exporter_defaults
|
- file: node_exporter_defaults
|
||||||
|
- file: node_exporter_bin_link
|
||||||
|
|
|
@ -69,3 +69,4 @@ prometheus_service:
|
||||||
- reload: True
|
- reload: True
|
||||||
- watch:
|
- watch:
|
||||||
- file: prometheus_server_config
|
- file: prometheus_server_config
|
||||||
|
- file: prometheus_bin_link
|
||||||
|
|
Loading…
Reference in a new issue