From 92496a1b630fd7bf8a9d7b037dd5b1f57fdbb008 Mon Sep 17 00:00:00 2001 From: George Shuklin Date: Thu, 20 Feb 2025 20:52:33 +0200 Subject: [PATCH] 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. --- test/gce/scenarios/linux/tasks/create_linux_instance.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/gce/scenarios/linux/tasks/create_linux_instance.yml b/test/gce/scenarios/linux/tasks/create_linux_instance.yml index 3c781c45..b0814ac6 100644 --- a/test/gce/scenarios/linux/tasks/create_linux_instance.yml +++ b/test/gce/scenarios/linux/tasks/create_linux_instance.yml @@ -56,3 +56,6 @@ search_regex: SSH delay: 10 loop: "{{ server.results }}" + loop_control: + label: "{{ item.name }}" +