Skip to content

Commit 564dfef

Browse files
debug: podman auth locations
Signed-off-by: mdafsanhossain <Mdafsan.Hossain@ibm.com>
1 parent 4d08e56 commit 564dfef

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • ansible/roles/run-test-target/tasks

ansible/roles/run-test-target/tasks/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
stdin: "{{ quay_password }}"
77
when: runtime_command == 'docker' or runtime_command == 'podman'
88

9+
- name: Debug podman auth locations
10+
become: "{{ runtime_as_root }}"
11+
shell: |
12+
echo "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR"
13+
ls -la /run/containers/0/auth.json \
14+
${XDG_RUNTIME_DIR}/containers/auth.json \
15+
$HOME/.config/containers/auth.json \
16+
$HOME/.docker/config.json 2>&1
17+
when: runtime_command == "podman"
18+
tags: [print_action]
19+
920
# 'success' will be set to false in the Run Integration Tests step
1021
# if any test fails. After the tests run, the Check results step
1122
# will cause a global failure if 'success' is set to false.

0 commit comments

Comments
 (0)