more vault work

This commit is contained in:
Matthew Stobbs
2025-03-23 11:13:19 -06:00
parent a1903f3ab9
commit 1c3277c497
3 changed files with 95 additions and 0 deletions

9
files/vault/config.hcl Normal file
View File

@@ -0,0 +1,9 @@
ui = {{ ui | default(true) }}
cluster_addr = "https://{{ ansible_default_ipv4.address }}:{{ cluster_port | default('8201') }}"
api_addr = "https://{{ansible_default_ipv4.address }}:{{ api_port | default('8200') }}"
disable_mlock = {{ disable_mlock | default(true) }}
storage "raft" {
path = "{{ raft_path | default('/var/lib/vault/data') }}"
node_id = "{{ raft_node_id | default(ansible_hostname) }}"
}