From 439671e77011ef638a280041ad4469e4a764bf7c Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Tue, 7 Jul 2020 18:03:26 +0530 Subject: [PATCH] Use registry:2.7.0 instead of registry:2 htpasswd is removed in latest registry image[1] and it's breaking molecule job for tripleo_podman role, let's use working registry image. [1] https://github.com/docker/distribution-library-image/issues/106 Change-Id: I644210a2dcc4cb3810d0999e8c69f8d54f602793 --- .../roles/tripleo_podman/molecule/login/prepare.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tripleo_ansible/roles/tripleo_podman/molecule/login/prepare.yml b/tripleo_ansible/roles/tripleo_podman/molecule/login/prepare.yml index e8f9484a7..ae27f6158 100644 --- a/tripleo_ansible/roles/tripleo_podman/molecule/login/prepare.yml +++ b/tripleo_ansible/roles/tripleo_podman/molecule/login/prepare.yml @@ -54,14 +54,14 @@ - name: Create registry shell: |- podman tag ubuntu:16.04 localhost:5000/my-ubuntu - podman run --entrypoint htpasswd registry:2 -Bbn testuser testpassword > {{ ansible_user_dir }}/auth/htpasswd + podman run --entrypoint htpasswd registry:2.7.0 -Bbn testuser testpassword > {{ ansible_user_dir }}/auth/htpasswd args: executable: /bin/bash - name: Create registry podman_container: name: registry - image: "registry:2" + image: "registry:2.7.0" restart_policy: always detach: true ports: