diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-03-24 16:51:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 16:51:53 -0500 |
commit | 8ba91f38b5ba6ed0c7c442b359ab6370c494d70e (patch) | |
tree | 73028e01b058d453164910e312a29551c30ae91d /roles/openshift_metrics/tasks | |
parent | 5a6e44d6f2af320505bd30c25ba98a61ae824da5 (diff) | |
parent | a674eb52df90f2dba9b8713760dba2a9e3fed7ce (diff) | |
download | openshift-8ba91f38b5ba6ed0c7c442b359ab6370c494d70e.tar.gz openshift-8ba91f38b5ba6ed0c7c442b359ab6370c494d70e.tar.bz2 openshift-8ba91f38b5ba6ed0c7c442b359ab6370c494d70e.tar.xz openshift-8ba91f38b5ba6ed0c7c442b359ab6370c494d70e.zip |
Merge pull request #3760 from sdodson/lm-default-images
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_metrics/tasks')
-rw-r--r-- | roles/openshift_metrics/tasks/main.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/main.yaml b/roles/openshift_metrics/tasks/main.yaml index 1eebff3bf..c8d222c60 100644 --- a/roles/openshift_metrics/tasks/main.yaml +++ b/roles/openshift_metrics/tasks/main.yaml @@ -1,4 +1,16 @@ --- + +- 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 metrics image facts + set_fact: + openshift_metrics_image_prefix: "{{ openshift_metrics_image_prefix | default(__openshift_metrics_image_prefix) }}" + openshift_metrics_image_version: "{{ openshift_metrics_image_version | default(__openshift_metrics_image_version) }}" + - name: Create temp directory for doing work in on target command: mktemp -td openshift-metrics-ansible-XXXXXX register: mktemp |