Missing prepare_ovs_tests directory (#26337)
openvswitch_db tests have been backported from devel to stable-2.3[1], but the role to prepare_ovs_tests was missing from the backport, hence the test, when run complained about missing roles. This commit aims to bring this directory into stable-2.3 tree. [1] https://github.com/ansible/ansible/pull/26330
This commit is contained in:
parent
94660f792a
commit
1ad1ad6ace
1 changed files with 15 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…
Reference in a new issue