tripleo-ansible/tripleo_ansible/roles/tripleo_packages/tasks
Jesse Pretorius (odyssey4me) 032c7db544 Correctly match openvswitch package
The current regex will match more than one package if the
openvswitchX.YZ-test package is installed.

eg:
rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-|openvswitch-2)/'
openvswitch2.11-test-2.11.0-35.el7fdp.noarch
openvswitch2.11-2.11.0-35.el7fdp.x86_64

The right package to find has the form: openvswitchA.BC-A.BC.D-

So we change the regex to only match if it has that form.

rhbz#1826367
Change-Id: I91be2f3fe989ec9bd5619bcc1e441a72af9c8566
2020-05-19 11:30:42 +01:00
..
external_upgrade.yml Replace all references to the old role name 2020-01-22 12:06:06 +00:00
fast_forward_post_upgrade.yml Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
fast_forward_upgrade.yml Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
update.yml Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
upgrade.yml Correctly match openvswitch package 2020-05-19 11:30:42 +01:00