Skip to content

Commit 0559e4c

Browse files
authored
patch podman login: omit certdir by default
reopen of stale pull ansible-community#250: ansible-community#250 should resolve isseu ansible-community#248: ansible-community#248
1 parent 980db38 commit 0559e4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/molecule_plugins/podman/playbooks/create.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
certdir: >-
1414
{% if lookup('env', 'DOCKER_CERT_PATH') %}
1515
{{ item.cert_path | default(lookup('env', 'DOCKER_CERT_PATH') + '/cert.pem') }}
16+
{% else %}
17+
{{ item.cert_path | default(omit) }}
1618
{% endif %}
1719
executable: "{{ podman_exec }}"
1820
username: "{{ item.registry.credentials.username }}"
@@ -30,6 +32,7 @@
3032
- item.registry.credentials is defined
3133
- item.registry.credentials.username is defined
3234
changed_when: false
35+
no_log: true
3336

3437
- name: Check presence of custom Dockerfiles
3538
ansible.builtin.stat:

0 commit comments

Comments
 (0)