You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/prepare_ovs_tests/tasks/main.yml

16 lines
358 B
YAML

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