Use symlink to bin in node-exporter and alertmanager
This commit is contained in:
parent
db6d81c314
commit
087c107b50
2 changed files with 6 additions and 10 deletions
|
@ -13,11 +13,9 @@ alertmanager_tarball:
|
|||
- if_missing: {{ version_path }}
|
||||
|
||||
alertmanager_bin_link:
|
||||
alternatives.install:
|
||||
- name: alertmanager
|
||||
- link: /usr/bin/alertmanager
|
||||
- path: {{ version_path }}/alertmanager
|
||||
- priority: 10
|
||||
file.symlink:
|
||||
- name: /usr/bin/alertmanager
|
||||
- target: {{ version_path }}/alertmanager
|
||||
- require:
|
||||
- archive: alertmanager_tarball
|
||||
|
||||
|
|
|
@ -13,11 +13,9 @@ node_exporter_tarball:
|
|||
- if_missing: {{ version_path }}
|
||||
|
||||
node_exporter_bin_link:
|
||||
alternatives.install:
|
||||
- name: node_exporter
|
||||
- link: /usr/bin/node_exporter
|
||||
- path: {{ version_path }}/node_exporter
|
||||
- priority: 10
|
||||
file.symlink:
|
||||
- name: /usr/bin/node_exporter
|
||||
- target: {{ version_path }}/node_exporter
|
||||
- require:
|
||||
- archive: node_exporter_tarball
|
||||
|
||||
|
|
Loading…
Reference in a new issue