From ca2936a8554ca9bcf647b2d2f9a181d37bcd09d5 Mon Sep 17 00:00:00 2001 From: Albin Vass Date: Mon, 21 Dec 2020 18:32:17 +0100 Subject: [PATCH] upload-artifactory: no_log upload task If the upload request fails artifactory can respond with the apiKey as part of the body. Add a no_log to avoid leaking apiKeys. Change-Id: I2e03c3e06754e650ca2987c6a0a7ae2b8ed86268 --- roles/upload-artifactory/tasks/upload.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/upload-artifactory/tasks/upload.yaml b/roles/upload-artifactory/tasks/upload.yaml index 189d735dc..9377a296a 100644 --- a/roles/upload-artifactory/tasks/upload.yaml +++ b/roles/upload-artifactory/tasks/upload.yaml @@ -51,6 +51,7 @@ /artifactory/{{ zj_artifact.dest }}" - name: Upload artifact + no_log: true uri: user: "{{ upload_artifactory_instances[zj_artifact.instance].user }}" password: "{{ _artifactory_password | default(omit) }}"