summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-05-31 10:26:53 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-05-31 10:26:53 -0300
commitefb153693104976e86a91ebf6bf236448be5a84d (patch)
tree931258201dfc7c8de85a7b4053ecca4666ebe6db /roles
parenta7f71eab952e574db89ae9cac2e15922443db048 (diff)
downloadopenshift-efb153693104976e86a91ebf6bf236448be5a84d.tar.gz
openshift-efb153693104976e86a91ebf6bf236448be5a84d.tar.bz2
openshift-efb153693104976e86a91ebf6bf236448be5a84d.tar.xz
openshift-efb153693104976e86a91ebf6bf236448be5a84d.zip
Drop unnecessary node playbook version calculation.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_docker/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_docker/tasks/main.yml b/roles/openshift_docker/tasks/main.yml
index c2ba63a1d..00f761987 100644
--- a/roles/openshift_docker/tasks/main.yml
+++ b/roles/openshift_docker/tasks/main.yml
@@ -29,7 +29,7 @@
openshift_version: "{{ openshift.common.version }}"
when: openshift.common.version is defined and openshift_version is not defined
-- name: Lookup latest OpenShift rpm version if none specified
+- name: Install latest OpenShift rpm to check version
action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}{{ openshift_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) }} state=present"
when: not is_containerized | bool and openshift_version is not defined