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 }}
|
- if_missing: {{ version_path }}
|
||||||
|
|
||||||
alertmanager_bin_link:
|
alertmanager_bin_link:
|
||||||
alternatives.install:
|
file.symlink:
|
||||||
- name: alertmanager
|
- name: /usr/bin/alertmanager
|
||||||
- link: /usr/bin/alertmanager
|
- target: {{ version_path }}/alertmanager
|
||||||
- path: {{ version_path }}/alertmanager
|
|
||||||
- priority: 10
|
|
||||||
- require:
|
- require:
|
||||||
- archive: alertmanager_tarball
|
- archive: alertmanager_tarball
|
||||||
|
|
||||||
|
|
|
@ -13,11 +13,9 @@ node_exporter_tarball:
|
||||||
- if_missing: {{ version_path }}
|
- if_missing: {{ version_path }}
|
||||||
|
|
||||||
node_exporter_bin_link:
|
node_exporter_bin_link:
|
||||||
alternatives.install:
|
file.symlink:
|
||||||
- name: node_exporter
|
- name: /usr/bin/node_exporter
|
||||||
- link: /usr/bin/node_exporter
|
- target: {{ version_path }}/node_exporter
|
||||||
- path: {{ version_path }}/node_exporter
|
|
||||||
- priority: 10
|
|
||||||
- require:
|
- require:
|
||||||
- archive: node_exporter_tarball
|
- archive: node_exporter_tarball
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue