]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
docker2podman: pull images from docker daemon
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 16 Apr 2020 15:30:11 +0000 (11:30 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 3 Jun 2020 17:20:24 +0000 (13:20 -0400)
commit6f893e5ed9b737a253aecf85d319825cdd07b5d1
tree7f5e56f9f08dd5f1f639189c59858238992e0a02
parent8c4865cd143259c134a7b0443485561e7f67d833
docker2podman: pull images from docker daemon

The docker2podman playbook only installs the podman package and updates
the systemd units with the right container_binary value.

We never pull the container image so if one service is restarted then
the container image will be pulled first before the service can start
which could cause longer downstream.

To avoid to download the container image from internet again we can just
pull it from the local docker daemon.

The container_{binding,package,service}_name variables are removed
because they are only used in the ceph-container-engine role which
isn't call in this playbook.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit d38f21aeba29f341dc737b8cdeaa9fdaa9f55408)
infrastructure-playbooks/docker-to-podman.yml
tox-docker2podman.ini