summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/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_master/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_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 4f722679d..15b3c320c 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -92,6 +92,11 @@
action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-master{{ openshift_version }} state=present"
when: not openshift.common.is_containerized | bool
+- name: Pull master image
+ command: >
+ docker pull {{ openshift.master.master_image }}:{{ openshift_version }}
+ when: openshift.common.is_containerized | bool
+
- name: Install Master docker service file
template:
dest: "/etc/systemd/system/{{ openshift.common.service_type }}-master.service"