summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/upgrade/containerized_upgrade_pull.yml
blob: 0a14e5174a33adeb4c8f6b9103221397d56f31f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: Pre-pull node image
  command: >
    docker pull {{ osn_image }}:{{ openshift_image_tag }}
  register: pull_result
  changed_when: "'Downloaded newer image' in pull_result.stdout"

- name: Pre-pull openvswitch image
  command: >
    docker pull {{ osn_ovs_image }}:{{ openshift_image_tag }}
  register: pull_result
  changed_when: "'Downloaded newer image' in pull_result.stdout"
  when: openshift_use_openshift_sdn | bool

- include_tasks: ../container_images.yml