[QUEENS ONLY] Don't check openvswitch service if no ovs package.
We only try to restart the ovs service if the package is present on
the host.
We also make sure that some tasks don't run on every step by providing
the necessary conditionals.
Queens only because:
- master to stein ovs tasks are refactor to use an ansible module and
we are careful to not error out when ovs isn't present.
- rocky doesn't have the update tasks workaround for ovs.
Reviewed: https:/ /review. opendev. org/744000 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=91765ac5992 8ea27b90ce6e1b4 bed31c69e9f435
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 91765ac59928ea2 7b90ce6e1b4bed3 1c69e9f435
Author: Sofer Athlan-Guyot <email address hidden>
Date: Mon May 11 18:37:46 2020 +0200
[QUEENS ONLY] Don't check openvswitch service if no ovs package.
We only try to restart the ovs service if the package is present on
the host.
We also make sure that some tasks don't run on every step by providing
the necessary conditionals.
Queens only because:
- master to stein ovs tasks are refactor to use an ansible module and
we are careful to not error out when ovs isn't present.
- rocky doesn't have the update tasks workaround for ovs.
Change-Id: I7b16f409cceb1c 41ceedf8dfdae6f fd06ec59410
Closes-Bug: #1875743