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.

32 lines
1.2 KiB

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