From e5cfdc648cf8779cea6f057793bfabb509bdfb45 Mon Sep 17 00:00:00 2001 From: Brad Beam Date: Wed, 23 Aug 2017 01:54:01 -0500 Subject: [PATCH] Adding ability to override max ttl (#1559) Prior this would fail because we didnt set max ttl for vault temp --- roles/vault/defaults/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/vault/defaults/main.yml b/roles/vault/defaults/main.yml index 9694599cb..7e14374bf 100644 --- a/roles/vault/defaults/main.yml +++ b/roles/vault/defaults/main.yml @@ -78,13 +78,14 @@ vault_secret_shares: 1 vault_secret_threshold: 1 vault_secrets_dir: "{{ vault_base_dir }}/secrets" vault_temp_config: - default_lease_ttl: "{{ vault_default_lease_ttl }}" backend: file: path: /vault/file + default_lease_ttl: "{{ vault_default_lease_ttl }}" listener: tcp: address: "0.0.0.0:{{ vault_port }}" tls_disable: "true" + max_lease_ttl: "{{ vault_max_lease_ttl }}" vault_temp_container_name: vault-temp vault_version: 0.6.4