summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/container_images.yml
blob: bb788e2f1eeaa620a10c3f8c5b4099e2770cbe5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
- name: Install Node system container
  include_tasks: node_system_container.yml
  when:
  - l_is_node_system_container | bool

- name: Install OpenvSwitch system containers
  include_tasks: openvswitch_system_container.yml
  when:
  - openshift_node_use_openshift_sdn | bool
  - l_is_openvswitch_system_container | bool

- 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_node_use_openshift_sdn | bool
  - not l_is_openvswitch_system_container | bool