From be2041b3bc7d1a31a403914e20f222e322905405 Mon Sep 17 00:00:00 2001 From: Bas Meijer Date: Mon, 4 Nov 2024 20:26:38 +0100 Subject: [PATCH] Use ansible-vault for the passphrase --- roles/semaphore/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/semaphore/defaults/main.yml b/roles/semaphore/defaults/main.yml index 9200b19..e13f38a 100644 --- a/roles/semaphore/defaults/main.yml +++ b/roles/semaphore/defaults/main.yml @@ -13,4 +13,4 @@ vault_access_key_encryption: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64 vault_admin_password: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64') }}" vault_cookie_encryption: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64') }}" vault_cookie_hash: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64') }}" -vault_ssh_passphrase: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64') }}" +vault_ssh_passphrase: "{{ ssh_passphrase | default('') }}"