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:
Yanis Guenane 2017-07-03 10:02:07 +02:00 committed by Ricardo Carrillo Cruz
parent 94660f792a
commit 1ad1ad6ace

View 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'