summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-05-30 16:03:46 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-05-30 16:03:46 -0300
commit5b73307fa59680959da5a61e94a0c7316ca0ccb6 (patch)
treea331c26764da11f1401d530b005c164d21b5fe2f
parentbab4a4b6aeeb12b5c1fb412a3a95c5d8c90249e4 (diff)
downloadopenshift-5b73307fa59680959da5a61e94a0c7316ca0ccb6.tar.gz
openshift-5b73307fa59680959da5a61e94a0c7316ca0ccb6.tar.bz2
openshift-5b73307fa59680959da5a61e94a0c7316ca0ccb6.tar.xz
openshift-5b73307fa59680959da5a61e94a0c7316ca0ccb6.zip
Fix use of openshift_version in ca role.
-rw-r--r--roles/openshift_ca/tasks/main.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/roles/openshift_ca/tasks/main.yml b/roles/openshift_ca/tasks/main.yml
index 497473f22..cd72a4e21 100644
--- a/roles/openshift_ca/tasks/main.yml
+++ b/roles/openshift_ca/tasks/main.yml
@@ -4,10 +4,7 @@
when: openshift_ca_host is not defined
- name: Install the base package for admin tooling
- action: >
- {{ ansible_pkg_mgr }}
- name={{ openshift.common.service_type }}{{ openshift_version }}
- state=present
+ 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 openshift.common.is_containerized | bool
register: install_result
delegate_to: "{{ openshift_ca_host }}"