Skip to content

Commit 7d27566

Browse files
authored
patch podman login: omit certdir by default (#250)
* podman login: omit certdir value by default * podman login: disable log
1 parent 15155b2 commit 7d27566

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)