diff --git a/roles/vault/defaults/main.yml b/roles/vault/defaults/main.yml index 2bbb0b9a2..f70d67f7d 100644 --- a/roles/vault/defaults/main.yml +++ b/roles/vault/defaults/main.yml @@ -42,7 +42,7 @@ vault_image_tag: "{{ vault_version }}" vault_bind_address: 0.0.0.0 vault_port: 8200 -vault_etcd_url: "https://{{ hostvars[groups.etcd[0]]['ip']|d(hostvars[groups.etcd[0]]['ansible_default_ipv4']['address']) }}:2379" +vault_etcd_url: "{{ etcd_access_addresses }}" vault_default_lease_ttl: 720h vault_max_lease_ttl: 87600h