diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-01-07 16:41:37 -0500 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2016-01-07 16:44:05 -0500 |
commit | 2fe86fee9758471fd55de2776bf512ddf2a39b8d (patch) | |
tree | 0000a48218d238fd3ff539738ff919a23dc2d0af /roles/openshift_master_ca | |
parent | e807b15822a68aed9ed8d1c07a3b623bd4ad8cc3 (diff) | |
download | openshift-2fe86fee9758471fd55de2776bf512ddf2a39b8d.tar.gz openshift-2fe86fee9758471fd55de2776bf512ddf2a39b8d.tar.bz2 openshift-2fe86fee9758471fd55de2776bf512ddf2a39b8d.tar.xz openshift-2fe86fee9758471fd55de2776bf512ddf2a39b8d.zip |
Always pull docker images
Diffstat (limited to 'roles/openshift_master_ca')
-rw-r--r-- | roles/openshift_master_ca/tasks/main.yml | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/roles/openshift_master_ca/tasks/main.yml b/roles/openshift_master_ca/tasks/main.yml index 5b4c92f2b..6d9be81c0 100644 --- a/roles/openshift_master_ca/tasks/main.yml +++ b/roles/openshift_master_ca/tasks/main.yml @@ -13,16 +13,10 @@ path: "{{ openshift_master_config_dir }}" state: directory -- name: Get docker images - command: docker images - changed_when: false - when: openshift.common.is_containerized | bool - register: docker_images - -- name: Pull required docker image +- name: Pull master docker image command: > docker pull {{ openshift.common.cli_image }} - when: openshift.common.is_containerized | bool and openshift.common.cli_image not in docker_images.stdout + when: openshift.common.is_containerized | bool - name: Create the master certificates if they do not already exist command: > |