summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/container_images.yml
blob: 0b8c806ae954de44b93410d466f7bc348ac4fb48 (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 {{ openshift.node.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