summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2016-04-12 14:11:47 -0400
committerSamuel Munilla <smunilla@redhat.com>2016-04-12 14:24:54 -0400
commitb6e6ac232bf47b89e213d4a52a51c5d161ed38ea (patch)
treebb610b96655e692b3e475648f82d1e5f40881a81 /roles
parente284ee1c2dba7f6ceeedf8af4adc60a795721166 (diff)
downloadopenshift-b6e6ac232bf47b89e213d4a52a51c5d161ed38ea.tar.gz
openshift-b6e6ac232bf47b89e213d4a52a51c5d161ed38ea.tar.bz2
openshift-b6e6ac232bf47b89e213d4a52a51c5d161ed38ea.tar.xz
openshift-b6e6ac232bf47b89e213d4a52a51c5d161ed38ea.zip
Convert image_tag on masters
Also convert openshift_image_tag to and rpm versions for masters.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 23994cdcf..18a42bf93 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -24,7 +24,7 @@
when: openshift_master_ha | bool and openshift_master_cluster_method == "pacemaker" and openshift.common.is_containerized | bool
- name: Install Master package
- action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-master{{ openshift_version }} state=present"
+ action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-master{{ openshift_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) }} state=present"
when: not openshift.common.is_containerized | bool
- name: Pull master image