zuul-jobs/roles/multi-node-bridge/vars/RedHat.yaml
Ronelle Landy e1ebeefecb Only use RHEL8 deps repo on Red Hat systems newer than 7
cecf9e902c
broke Openstack jobs running on Red Hat 7.

This review includes the ansible_distribution_major_version
when deciding which repos to include for openvswitch.

Change-Id: I6ec32e2913843adb0778a63133296bb26a0b5e6e
2019-08-30 15:11:01 -04:00

9 lines
167 B
YAML

---
ovs_package: >-
{% if ansible_distribution_major_version|int >= 8 -%}
rhosp-openvswitch
{%- else -%}
openvswitch
{%- endif %}
ovs_service: "openvswitch"