role service-prometheus: set fact so other roles can check if prometheus is availible
This commit is contained in:
parent
32f6654e44
commit
222b4e5197
3 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
- name: set internal variables, part 1
|
||||
set_fact:
|
||||
alertmanager_present: yes
|
||||
alertmanager_signature: "alertmanager-{{ alertmanager_version }}.linux-amd64"
|
||||
|
||||
- name: set internal variables, part 2
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
- name: set internal variables for convenience
|
||||
set_fact:
|
||||
node_exporter_present: yes
|
||||
node_exporter_daemon_dir: "{{ prometheus_install_path }}/node_exporter-{{ node_exporter_version }}.linux-amd64"
|
||||
node_exporter_tarball_url: "https://github.com/prometheus/node_exporter/releases/download/v{{ node_exporter_version }}/node_exporter-{{ node_exporter_version }}.linux-amd64.tar.gz"
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
- name: set internal variables for convenience
|
||||
set_fact:
|
||||
prometheus_present: yes
|
||||
prometheus_daemon_dir: "{{ prometheus_install_path }}/prometheus-{{ prometheus_version }}.linux-amd64"
|
||||
prometheus_tarball_url: "https://github.com/prometheus/prometheus/releases/download/v{{ prometheus_version }}/prometheus-{{ prometheus_version }}.linux-amd64.tar.gz"
|
||||
|
||||
|
|
Loading…
Reference in a new issue