tripleo-ansible/tripleo_ansible/roles/tripleo-packages/tasks
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
..
external_upgrade.yml Create the tripleo-packages role. 2019-09-06 14:53:16 -05:00
fast_forward_post_upgrade.yml Create the tripleo-packages role. 2019-09-06 14:53:16 -05:00
fast_forward_upgrade.yml Create the tripleo-packages role. 2019-09-06 14:53:16 -05:00
update.yml Create the tripleo-packages role. 2019-09-06 14:53:16 -05:00
upgrade.yml Correctly match openvswitch package 2020-05-20 10:09:21 +00:00