This ansible role install Vault and expect you to supply your own configuration templates.
See:
Vault has MANY configuration parameters and trying to cover all of them with ansible variables makes things awfully complicated, hard to maintain and frustrating when some options are not handled. You might also prefer to use HCL over the JSON format... For these reasons, this role handles the installation of Vault and use your supplied configuration templates so that everyone's life is made easier!
- Vault binary directory
- Default value:
/usr/local/bin
- Base configuration directory
- Default value:
/etc/vault
- Path to the configuration template to use
- Must be supplied
- Resulting config will be the file name without the
.j2
extension. ie./some/path/config.hcl.j2
would result in{{ vault_config_dir }}/config.hcl
- Vault data directory for local storage
- This var is there for your convenience.
/var/lib/vault
would be appropriate here.
- This var is there for your convenience.
- Default value:
''
- Extra configuration directory
- Default value:
{{ vault_config_dir }}/vault.d
- Extra configuration templates to render
- Resulting configs will be the files name without the
.j2
extension. ie./some/path/my-extra-config.hcl.j2
would result in{{ vault_extra_config_dir }}/my-extra-config.hcl
- Resulting configs will be the files name without the
- Default value:
[]
- Vault unix group
- Default value:
vault
- Vault log directory
- Set to something like
/var/log/vault
if you want logs into a file instead of syslog.
- Set to something like
- Default value:
''
- Vault unix user
- Default value:
vault
- Version to install
- Default value: 1.15.4