Skip to content

Commit 92496a1

Browse files
committed
fix: hide private key from the logs for gce driver
When instance is waited, loop contain all server data, including metadata, which contains ssh private key. This key is ephimerial (get removed when Molecule finished), but, nevertheless, is a private key, which give access to some server, printed in the plain text.
1 parent 980db38 commit 92496a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/gce/scenarios/linux/tasks/create_linux_instance.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@
5656
search_regex: SSH
5757
delay: 10
5858
loop: "{{ server.results }}"
59+
loop_control:
60+
label: "{{ item.name }}"
61+

0 commit comments

Comments
 (0)