tripleo-ansible/tripleo_ansible/roles/tripleo-podman
yatinkarel d0fbe8b844 Login with buildah too to allow registry access with buildah
buildah login and podman login with root do not share same
authfile, buildah uses /run/containers/0/auth.json while
podman uses /run/user/0/containers/auth.json resulted from
$XDG_RUNTIME_DIR.

To ensure both podman and buildah can access the configured
registry, run login command with both.

It's mainly needed as container images are being pushed
with tripleoclient using sudo buildah push and buildah creds
are not setup.

Related-Bug: #1886555
Change-Id: I3d38d406e9f63008f7060f31cc9ff378e97120bb
(cherry picked from commit 067a315df9)
2020-07-08 13:42:50 +05:30
..
defaults Add no_log to the podman login 2020-02-20 15:25:39 -07:00
meta Create a podman role 2019-07-16 11:46:21 -05:00
molecule Use registry:2.7.0 instead of registry:2 2020-07-08 09:35:09 +05:30
tasks Login with buildah too to allow registry access with buildah 2020-07-08 13:42:50 +05:30
vars Login with buildah too to allow registry access with buildah 2020-07-08 13:42:50 +05:30