2019-04-01 09:38:33 +00:00
|
|
|
---
|
2018-11-10 16:51:24 +00:00
|
|
|
vault_deployment_type: docker
|
|
|
|
vault_binary_checksum: 3c4d70ba71619a43229e65c67830e30e050eab7a81ac6b28325ff707e5914188
|
|
|
|
vault_version: 0.10.1
|
|
|
|
vault_download_url: "https://releases.hashicorp.com/vault/{{ vault_version }}/vault_{{ vault_version }}_linux_{{ image_arch }}.zip"
|
|
|
|
vault_image_repo: "vault"
|
|
|
|
vault_image_tag: "{{ vault_version }}"
|
|
|
|
vault_downloads:
|
|
|
|
vault:
|
|
|
|
enabled: "{{ cert_management == 'vault' }}"
|
|
|
|
container: "{{ vault_deployment_type != 'host' }}"
|
|
|
|
file: "{{ vault_deployment_type == 'host' }}"
|
|
|
|
dest: "{{local_release_dir}}/vault/vault_{{ vault_version }}_linux_{{ image_arch }}.zip"
|
|
|
|
mode: "0755"
|
|
|
|
owner: "vault"
|
|
|
|
repo: "{{ vault_image_repo }}"
|
|
|
|
sha256: "{{ vault_binary_checksum if vault_deployment_type == 'host' else vault_digest_checksum|d(none) }}"
|
|
|
|
tag: "{{ vault_image_tag }}"
|
|
|
|
unarchive: true
|
|
|
|
url: "{{ vault_download_url }}"
|
|
|
|
version: "{{ vault_version }}"
|
|
|
|
groups:
|
|
|
|
- vault
|
|
|
|
|
|
|
|
# Vault data dirs.
|
|
|
|
vault_base_dir: /etc/vault
|
|
|
|
vault_cert_dir: "{{ vault_base_dir }}/ssl"
|
|
|
|
vault_config_dir: "{{ vault_base_dir }}/config"
|
|
|
|
vault_roles_dir: "{{ vault_base_dir }}/roles"
|
|
|
|
vault_secrets_dir: "{{ vault_base_dir }}/secrets"
|
|
|
|
kube_vault_mount_path: "/kube"
|
|
|
|
etcd_vault_mount_path: "/etcd"
|