mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
[WIP] Add openvswitch_db integration tests (#23803)
* WIP Add openvswitch_db integration tests * Add ovs.yaml playbook entrypoint for OVS * Add test case pattern filtering * Clear out aliases for now Running tests on posix group just fails, containers do not have ovs
This commit is contained in:
parent
3f9d1ab024
commit
c296fcb0e0
7 changed files with 73 additions and 0 deletions
15
test/integration/targets/prepare_ovs_tests/tasks/main.yml
Normal file
15
test/integration/targets/prepare_ovs_tests/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
|
||||
- name: Install openvswitch-switch package if we are on Ubuntu
|
||||
apt:
|
||||
name: openvswitch-switch
|
||||
state: installed
|
||||
update_cache: yes
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
|
||||
- name: Install openvswitch package if we are on Fedora
|
||||
yum:
|
||||
name: openvswitch
|
||||
state: installed
|
||||
update_cache: yes
|
||||
when: ansible_distribution == 'Fedora'
|
Loading…
Add table
Add a link
Reference in a new issue