Don't log login

We only will log when the debug option is used.

Change-Id: I6cda4c2f4866cf38d8b561ae4c9b4638d676dd2e
This commit is contained in:
Alex Schultz 2020-02-20 08:58:39 -07:00
parent e904b8213c
commit 7eca2dd091
1 changed files with 1 additions and 0 deletions

View File

@ -9,4 +9,5 @@
password: "{{ lookup('dict', item.value).value }}"
registry: "{{ item.key }}"
loop: "{{ query('dict', container_registry_logins | default({})) }}"
no_log: "{{ not container_registry_debug|bool }}"
when: container_registry_logins | length > 0