commit d2d53ab69c23f988b800e0f0faacc683b0b41b61
Author: Jose Luis Franco Arza <email address hidden>
Date: Tue Jul 16 09:45:58 2019 +0200
Cover the case when the container engine is not available.
In the case the container engine passed in tripleo_container_cli
isn't installed (for example: if we try to remove a docker container
when the instance has podman installed and docker isn't present) then
the role would fail. This patch includes a guard which in the case
the container engine passed in tripleo_container_cli doesn't exist
then nothing is done.
Besides, a check for the container being run in the docker-rm part
was missing, this check is being added too.
Reviewed: https:/ /review. opendev. org/670971 /git.openstack. org/cgit/ openstack/ tripleo- ansible/ commit/ ?id=d2d53ab69c2 3f988b800e0f0fa acc683b0b41b61
Committed: https:/
Submitter: Zuul
Branch: master
commit d2d53ab69c23f98 8b800e0f0faacc6 83b0b41b61
Author: Jose Luis Franco Arza <email address hidden>
Date: Tue Jul 16 09:45:58 2019 +0200
Cover the case when the container engine is not available.
In the case the container engine passed in tripleo_ container_ cli container_ cli doesn't exist
isn't installed (for example: if we try to remove a docker container
when the instance has podman installed and docker isn't present) then
the role would fail. This patch includes a guard which in the case
the container engine passed in tripleo_
then nothing is done.
Besides, a check for the container being run in the docker-rm part
was missing, this check is being added too.
Change-Id: Ib5501321fef1a3 921fbb17bcfabfb 2f5c7c96c41
Related-Bug: #1836531