container_images.yml 726 B

12345678910111213141516171819202122
  1. ---
  2. - name: Install Node system container
  3. include_tasks: node_system_container.yml
  4. when:
  5. - l_is_node_system_container | bool
  6. - name: Install OpenvSwitch system containers
  7. include_tasks: openvswitch_system_container.yml
  8. when:
  9. - openshift_node_use_openshift_sdn | bool
  10. - l_is_openvswitch_system_container | bool
  11. - not openshift_use_external_openvswitch | bool
  12. - name: Pre-pull openvswitch image
  13. command: >
  14. docker pull {{ osn_ovs_image }}:{{ openshift_image_tag }}
  15. register: pull_result
  16. changed_when: "'Downloaded newer image' in pull_result.stdout"
  17. when:
  18. - openshift_node_use_openshift_sdn | bool
  19. - not l_is_openvswitch_system_container | bool
  20. - not openshift_use_external_openvswitch | bool