No requirements needed to install this role.
vault_version: 0.5.0
vault_dir: /opt/vault
vault_user: vault
vault_user_password: $6$J9/cJI/s$a0bvktGj1hO1WMG.LDgLlfOFM3.dBSHBJA9d7euRiOvw4TUGWF7Y2SgjqcET4OCjeOupVR9XFM9EqWYIPdFDG.
vault_server: True
vault_server_mode: development (no value means production mode)
vault_server_log_dir: /var/log/vault
vault_server_log_level: info
vault_server_config_path : There is no default value, you MUST provide a server configuration except if you set the variable vault_server_mode with 'development'.
No external dependencies
Install vault at a specific version
- hosts: servers
roles:
- { role: migibert.vault, vault_version: "0.5.0" }
Install vault server in development mode
- hosts: servers
roles:
- { role: migibert.vault, vault_server_mode: "development" }
Install vault server in production mode
- hosts: servers
roles:
- { role: migibert.vault, vault_server_mode: "production", vault_server_config_path: "/etc/vault_configuration.hcl"}
Note that the role will not create the server configuration for you, it is your responsibility to provide it because I don't know your requirements =)
MIT
Mikael Gibert, Developer / Devops