summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/vars
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-03-07 16:36:42 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-03-07 16:36:42 -0500
commit44f443cd5afcad79c9afa49ff4f60c0448512f4f (patch)
tree65aa2b1dfb02388d9a6b2d208ad10bc80193a85b /roles/openshift_master/vars
parent484547222a9f4dfef8b97c965ce637c56a9fc2e6 (diff)
parent64fa37b2b82b5f27fdbdca5a943e5c8158408e3d (diff)
downloadopenshift-44f443cd5afcad79c9afa49ff4f60c0448512f4f.tar.gz
openshift-44f443cd5afcad79c9afa49ff4f60c0448512f4f.tar.bz2
openshift-44f443cd5afcad79c9afa49ff4f60c0448512f4f.tar.xz
openshift-44f443cd5afcad79c9afa49ff4f60c0448512f4f.zip
Merge pull request #1559 from brenton/bz1315151
BZ1315151: Support openshift_image_tag
Diffstat (limited to 'roles/openshift_master/vars')
-rw-r--r--roles/openshift_master/vars/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/vars/main.yml b/roles/openshift_master/vars/main.yml
index fe88c3c16..6b5a73238 100644
--- a/roles/openshift_master/vars/main.yml
+++ b/roles/openshift_master/vars/main.yml
@@ -6,7 +6,7 @@ loopback_context_string: "current-context: {{ openshift.master.loopback_context_
openshift_master_scheduler_conf: "{{ openshift_master_config_dir }}/scheduler.json"
openshift_master_session_secrets_file: "{{ openshift_master_config_dir }}/session-secrets.yaml"
openshift_master_policy: "{{ openshift_master_config_dir }}/policy.json"
-openshift_version: "{{ openshift_pkg_version | default('') }}"
+openshift_version: "{{ openshift_pkg_version | default(openshift_image_tag) | default(openshift.common.image_tag) | default('') }}"
ha_svc_template_path: "{{ 'docker-cluster' if openshift.common.is_containerized | bool else 'native-cluster' }}"
ha_svc_svc_dir: "{{ '/etc/systemd/system' if openshift.common.is_containerized | bool else '/usr/lib/systemd/system' }}"