tripleo-ansible/tripleo_ansible/roles/tripleo-packages
Jesse Pretorius (odyssey4me) 80858ce0a0 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
(cherry picked from commit 032c7db544)
2020-05-20 10:09:21 +00:00
..
defaults Create the tripleo-packages role. 2019-09-06 14:53:16 -05:00
handlers Remove all ignore_errors to avoid confusion when debugging 2020-03-07 21:30:25 -05:00
meta Create the tripleo-packages role. 2019-09-06 14:53:16 -05:00
molecule Use CI mirrors for molecule jobs 2020-02-20 12:38:44 -05:00
tasks Correctly match openvswitch package 2020-05-20 10:09:21 +00:00