containerized_upgrade_pull.yml 482 B

123456789101112131415
  1. ---
  2. - name: Pre-pull node image
  3. command: >
  4. docker pull {{ osn_image }}:{{ openshift_image_tag }}
  5. register: pull_result
  6. changed_when: "'Downloaded newer image' in pull_result.stdout"
  7. - name: Pre-pull openvswitch image
  8. command: >
  9. docker pull {{ osn_ovs_image }}:{{ openshift_image_tag }}
  10. register: pull_result
  11. changed_when: "'Downloaded newer image' in pull_result.stdout"
  12. when: openshift_node_use_openshift_sdn | bool
  13. - include_tasks: ../container_images.yml