You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.2 KiB

  1. vault_deployment_type: docker
  2. vault_binary_checksum: 3c4d70ba71619a43229e65c67830e30e050eab7a81ac6b28325ff707e5914188
  3. vault_version: 0.10.1
  4. vault_download_url: "https://releases.hashicorp.com/vault/{{ vault_version }}/vault_{{ vault_version }}_linux_{{ image_arch }}.zip"
  5. vault_image_repo: "vault"
  6. vault_image_tag: "{{ vault_version }}"
  7. vault_downloads:
  8. vault:
  9. enabled: "{{ cert_management == 'vault' }}"
  10. container: "{{ vault_deployment_type != 'host' }}"
  11. file: "{{ vault_deployment_type == 'host' }}"
  12. dest: "{{local_release_dir}}/vault/vault_{{ vault_version }}_linux_{{ image_arch }}.zip"
  13. mode: "0755"
  14. owner: "vault"
  15. repo: "{{ vault_image_repo }}"
  16. sha256: "{{ vault_binary_checksum if vault_deployment_type == 'host' else vault_digest_checksum|d(none) }}"
  17. tag: "{{ vault_image_tag }}"
  18. unarchive: true
  19. url: "{{ vault_download_url }}"
  20. version: "{{ vault_version }}"
  21. groups:
  22. - vault
  23. # Vault data dirs.
  24. vault_base_dir: /etc/vault
  25. vault_cert_dir: "{{ vault_base_dir }}/ssl"
  26. vault_config_dir: "{{ vault_base_dir }}/config"
  27. vault_roles_dir: "{{ vault_base_dir }}/roles"
  28. vault_secrets_dir: "{{ vault_base_dir }}/secrets"
  29. kube_vault_mount_path: "/kube"
  30. etcd_vault_mount_path: "/etcd"