From 124c4cf5b2720a581fb073d5475491a67d8da333 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Mon, 17 Apr 2023 00:33:03 +0200 Subject: [PATCH] vault_config template --- templates/vault_config.hcl.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/vault_config.hcl.j2 b/templates/vault_config.hcl.j2 index 9adf120..e2304d7 100644 --- a/templates/vault_config.hcl.j2 +++ b/templates/vault_config.hcl.j2 @@ -11,7 +11,7 @@ template { perms = 0700 user = "{{ renew_vault_certificates_vault_user }}" group = "{{ renew_vault_certificates_vault_group }}" - command = "sh -c 'date && pkill -SIGHUP vault'" + command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_vault_certificates_info['common_name'] }}\" && pkill -SIGHUP vault '" } template { @@ -20,5 +20,5 @@ template { perms = 0700 user = "{{ renew_vault_certificates_vault_user }}" group = "{{ renew_vault_certificates_vault_group }}" - command = "sh -c 'date && pkill -SIGHUP vault'" + command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_vault_certificates_info['common_name'] }}\" && pkill -SIGHUP vault '" }