Install, configure and maintain vault-agent
Please see ansible-consul.
See defaults/ for details and examples.
- version to use
- a map of directories to create
- default:
vault_agent_dir: "/opt/vault"
vault_agent_dirs:
main:
path: "{{ vault_agent_dir }}"
configs:
path: "{{ vault_agent_dir }}/config.d"
templates:
path: "{{ vault_agent_dir }}/template.d"
certs:
path: "{{ vault_agent_dir }}/certs"
logs:
path: "/var/log/vault-agent"
- main configuration file
- example: please see defaults/example.yml
- map of templates to create in
template.d
directory
- owner of vault-agent process and files
- default:
root
- group of
vault_agent_user
- default:
root
- url to get vault-agent archive from
- default:
https://releases.hashicorp.com
- openrc service file
- default: see defaults/main.yml
- systemd unit file
- default: see defaults/main.yml
- skip restart/reload - useful when building images with Packer
- default:
false
config
- update vault-agent unit/service file and sync configuration files
- Anatoly Laskaris - nahsi