role service-prometheus: set fact so other roles can check if prometheus is availible

This commit is contained in:
Julian Labus 2018-09-14 12:56:04 +02:00
parent 32f6654e44
commit 222b4e5197
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A
3 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"