diff --git a/playbook/templates/config.hcl.j2 b/playbook/templates/config.hcl.j2 new file mode 100644 index 0000000..13fa7dd --- /dev/null +++ b/playbook/templates/config.hcl.j2 @@ -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"