openvswitch_system_container.yml 615 B

1234567891011121314
  1. ---
  2. - name: Pre-pull OpenVSwitch system container image
  3. command: >
  4. atomic pull --storage=ostree {{ openshift.common.system_images_registry }}/{{ openshift.node.ovs_system_image }}:{{ openshift_image_tag }}
  5. register: pull_result
  6. changed_when: "'Pulling layer' in pull_result.stdout"
  7. - name: Install or Update OpenVSwitch system container
  8. oc_atomic_container:
  9. name: openvswitch
  10. image: "{{ openshift.common.system_images_registry }}/{{ openshift.node.ovs_system_image }}:{{ openshift_image_tag }}"
  11. state: latest
  12. values:
  13. - "DOCKER_SERVICE={{ openshift.docker.service_name }}.service"