nahsi.vault
Vault
Install, configure and maintain Vault - a tool for managing secrets from HashiCorp.
Role Philosophy
Please see ansible-consul.
Role Variables
See defaults/ for details and examples.
vault_version
- version to use
vault_dirs
- a map of directories to create
- default:
vault_dir: "/opt/vault"
vault_dirs:
main:
path: "{{ vault_dir }}"
configs:
path: "{{ vault_dir }}/config.d"
certs:
path: "{{ vault_dir }}/certs"
data:
path: "/var/lib/vault"
mode: "u=rwX,g=rX,o="
logs:
path: "/var/log/vault"
vault_config
- main configuration file
- example: please see defaults/example.yml
vault_configs
- map of configuration files to create in
config.ddirectory. Restart on changes
vault_user
- owner of Vault process and files
- default:
vault
vault_group
- group of
vault_user - default:
vault
vault_download_url
- url to get Vault archive from
- default:
https://releases.hashicorp.com
vault_service
- openrc service file
- default: see defaults/main.yml
vault_unitfile
- systemd unit file
- default: see defaults/main.yml
skip_handlers
- skip Vault restart/reload - useful when building images with Packer
- default:
false
Tags
config- update Vault unit/service file and sync configuration files
Author
- Anatoly Laskaris - nahsi
Install
ansible-galaxy install nahsi.vaultLicense
mit
Downloads
1.7k
Owner
