Added templates
This commit is contained in:
parent
20de3a0279
commit
34fa20abd8
26
playbook/templates/config.hcl.j2
Normal file
26
playbook/templates/config.hcl.j2
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Full configuration options can be found at https://www.vaultproject.io/docs/configuration
|
||||
|
||||
ui = true
|
||||
#mlock = true
|
||||
#disable_mlock = true
|
||||
|
||||
storage "raft" {
|
||||
path = "/opt/vault/data"
|
||||
node_id = "node1"
|
||||
}
|
||||
|
||||
# HTTP listener
|
||||
listener "tcp" {
|
||||
address = "0.0.0.0:8200"
|
||||
tls_disable = "true"
|
||||
}
|
||||
|
||||
# HTTPS listener
|
||||
#listener "tcp" {
|
||||
# address = "0.0.0.0:8200"
|
||||
# tls_cert_file = "/opt/vault/tls/tls.crt"
|
||||
# tls_key_file = "/opt/vault/tls/tls.key"
|
||||
#}
|
||||
|
||||
api_addr = "http://127.0.0.1:8200"
|
||||
cluster_addr = "https://127.0.0.1:8201"
|
Loading…
Reference in New Issue
Block a user