|
@@ -1,4 +1,20 @@
|
|
|
---
|
|
|
+- name: Set default image variables based on deployment_type
|
|
|
+ include_vars: "{{ item }}"
|
|
|
+ with_first_found:
|
|
|
+ - "{{ openshift_deployment_type | default(deployment_type) }}.yml"
|
|
|
+ - "default_images.yml"
|
|
|
+
|
|
|
+- name: Set image facts
|
|
|
+ set_fact:
|
|
|
+ openshift_prometheus_image_prefix: "{{ openshift_prometheus_image_prefix | default(__openshift_prometheus_image_prefix) }}"
|
|
|
+ openshift_prometheus_image_version: "{{ openshift_prometheus_image_version | default(__openshift_prometheus_image_version) }}"
|
|
|
+ openshift_prometheus_proxy_image_prefix: "{{ openshift_prometheus_proxy_image_prefix | default(openshift_prometheus_image_prefix) }}"
|
|
|
+ openshift_prometheus_proxy_image_version: "{{ openshift_prometheus_proxy_image_version | default(__openshift_prometheus_proxy_image_version) }}"
|
|
|
+ openshift_prometheus_alertmanager_image_prefix: "{{ openshift_prometheus_altermanager_image_prefix | default(openshift_prometheus_image_prefix) }}"
|
|
|
+ openshift_prometheus_alertmanager_image_version: "{{ openshift_prometheus_alertmanager_image_version | default(__openshift_prometheus_alertmanager_image_version) }}"
|
|
|
+ openshift_prometheus_alertbuffer_image_prefix: "{{ openshift_prometheus_alertbuffer_image_prefix | default(openshift_prometheus_image_prefix) }}"
|
|
|
+ openshift_prometheus_alertbuffer_image_version: "{{ openshift_prometheus_alertbuffer_image_version | default(__openshift_prometheus_alertbuffer_image_version) }}"
|
|
|
|
|
|
- name: Create temp directory for doing work in on target
|
|
|
command: mktemp -td openshift-prometheus-ansible-XXXXXX
|