diff --git a/test/integration/targets/prepare_ovs_tests/tasks/main.yml b/test/integration/targets/prepare_ovs_tests/tasks/main.yml new file mode 100644 index 00000000000..92d86b85c48 --- /dev/null +++ b/test/integration/targets/prepare_ovs_tests/tasks/main.yml @@ -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'