summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-01-07 16:41:37 -0500
committerScott Dodson <sdodson@redhat.com>2016-01-07 16:44:05 -0500
commit2fe86fee9758471fd55de2776bf512ddf2a39b8d (patch)
tree0000a48218d238fd3ff539738ff919a23dc2d0af /roles/openshift_master/tasks
parente807b15822a68aed9ed8d1c07a3b623bd4ad8cc3 (diff)
downloadopenshift-2fe86fee9758471fd55de2776bf512ddf2a39b8d.tar.gz
openshift-2fe86fee9758471fd55de2776bf512ddf2a39b8d.tar.bz2
openshift-2fe86fee9758471fd55de2776bf512ddf2a39b8d.tar.xz
openshift-2fe86fee9758471fd55de2776bf512ddf2a39b8d.zip
Always pull docker images
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml16
1 files changed, 0 insertions, 16 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 397122631..3b46a0df4 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -86,25 +86,9 @@
action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-master{{ openshift_version }} state=present"
when: not openshift.common.is_containerized | bool
-- name: Get docker images
- command: docker images
- changed_when: false
- when: openshift.common.is_containerized | bool
- register: docker_images
-
- name: Pull master image
command: >
docker pull {{ openshift.master.master_image }}
- when: openshift.common.is_containerized | bool and openshift.master.master_image not in docker_images.stdout
-
-- name: Wait for master image
- command: >
- docker images
- register: docker_images
- until: openshift.master.master_image in docker_images.stdout
- retries: 30
- delay: 10
- changed_when: false
when: openshift.common.is_containerized | bool
- name: Install Master docker service file