From 2a35d50f35e49ed4308990f68f943fdad6d81a57 Mon Sep 17 00:00:00 2001 From: Zakhar Bessarab Date: Wed, 22 May 2024 11:42:58 +0400 Subject: [PATCH] roles/vmauth: add no_log for config templating Added no_log to make sure sensitive information will not be leaked in logs. See: https://github.com/VictoriaMetrics/ansible-playbooks/issues/65 Signed-off-by: Zakhar Bessarab --- roles/vmauth/tasks/configure.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/vmauth/tasks/configure.yml b/roles/vmauth/tasks/configure.yml index e47da56..049ad54 100644 --- a/roles/vmauth/tasks/configure.yml +++ b/roles/vmauth/tasks/configure.yml @@ -29,6 +29,7 @@ owner: "{{ vmauth_system_user }}" group: "{{ vmauth_system_group }}" mode: 0644 + no_log: true when: - vmauth_auth_config != "" notify: Restart vmauth service