summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cli/tasks
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-03-08 10:52:55 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-03-08 14:48:01 -0500
commit74026a867051d6909db02bab4140d663b26b7968 (patch)
tree952eb8ff42c521ac683cecac112dbdac9a006fd5 /roles/openshift_cli/tasks
parent1589b11e1a5b7819c092c44a7b313b3eec666b6f (diff)
downloadopenshift-74026a867051d6909db02bab4140d663b26b7968.tar.gz
openshift-74026a867051d6909db02bab4140d663b26b7968.tar.bz2
openshift-74026a867051d6909db02bab4140d663b26b7968.tar.xz
openshift-74026a867051d6909db02bab4140d663b26b7968.zip
reverting back to pre-pulling the master image
Diffstat (limited to 'roles/openshift_cli/tasks')
-rw-r--r--roles/openshift_cli/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_cli/tasks/main.yml b/roles/openshift_cli/tasks/main.yml
index e9d7f4afe..3b224416e 100644
--- a/roles/openshift_cli/tasks/main.yml
+++ b/roles/openshift_cli/tasks/main.yml
@@ -8,6 +8,11 @@
- name: Install clients
action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-clients state=present"
when: not openshift.common.is_containerized | bool
+
+- name: Pull CLI Image
+ command: >
+ docker pull {{ openshift.common.cli_image }}:{{ openshift_version }}
+ when: openshift.common.is_containerized | bool
- name: Create /usr/local/bin/openshift cli wrapper
template: