become_user: root
become_method: sudo
vars:
- ovs_checksum: sha256:8d1c439e26d7044f0ec823c7fef1b00b7c6465da0b83a7d0cf3191ed1dc43893
- ovs_version: 2.8.1
+ ovs_checksum: sha256:e40227e366db55f997344876a692918af68430bcb5fd3bd9ffe8dfd8c0bdd51f
+ ovs_version: 2.8.11
pre_tasks:
- include_role: name=lfit.system-update
- name: "Install OpenVSwitch {{ovs_version}}"
apt: "deb={{item}}"
with_items:
- - /tmp/ovs/libopenvswitch_2.8.1-1_amd64.deb
- - /tmp/ovs/openvswitch-common_2.8.1-1_amd64.deb
- - /tmp/ovs/openvswitch-switch_2.8.1-1_amd64.deb
- - /tmp/ovs/python-openvswitch_2.8.1-1_all.deb
- - /tmp/ovs/openvswitch-vtep_2.8.1-1_amd64.deb
+ - /tmp/ovs/libopenvswitch_2.8.11-1_amd64.deb
+ - /tmp/ovs/openvswitch-common_2.8.11-1_amd64.deb
+ - /tmp/ovs/openvswitch-switch_2.8.11-1_amd64.deb
+ - /tmp/ovs/python-openvswitch_2.8.11-1_all.deb
+ - /tmp/ovs/openvswitch-vtep_2.8.11-1_amd64.deb
become: true
- name: Enable openvswitch-switch service
systemd:
apt: name=vlan state=present
become: true
+ # This image is being used as a CSIT tools image and some of our
+ # CSIT test scripts are relying on python-2 and its request library.
+ # This makes sure we install them onto the image even though they
+ # are not required for the OVS rule of it.
- name: Install CSIT dependencies
apt:
name:
- - git-review
- - python-chardet
- - python-ndg-httpsclient
- python-requests
- - python-urllib3
state: present
become: true