2c2c8b9504
* new ansible-lint complaints * clamp ansible-lint to <7 * tox 4 support * switch to CentOS NFV Open vSwitch repository for OVS - rocky 9 RDO install was failing * switch from Kayobe CentOS stream 8 to Rocky Linux 9 and Ubuntu Jammy jobs - these are the current supported distros in Kayobe master Change-Id: Ic607ccccc866da65c100053bfa15ee141a98679e
26 lines
555 B
YAML
26 lines
555 B
YAML
---
|
|
- name: Install Open vSwitch package repository
|
|
become: true
|
|
package:
|
|
name: "{{ openvswitch_package_repo_name }}"
|
|
state: present
|
|
register: result
|
|
until: result is success
|
|
retries: 3
|
|
when: openvswitch_package_repo_name is not none
|
|
|
|
- name: Install Open vSwitch
|
|
become: true
|
|
package:
|
|
name: "{{ openvswitch_package_name }}"
|
|
state: present
|
|
register: result
|
|
until: result is success
|
|
retries: 3
|
|
|
|
- name: Start Open vSwitch service
|
|
become: true
|
|
service:
|
|
name: "{{ openvswitch_service_name }}"
|
|
state: started
|