{"id":14984432,"url":"https://github.com/ansible-community/ansible-vault","last_synced_at":"2026-02-09T16:08:23.753Z","repository":{"id":36954292,"uuid":"70871612","full_name":"ansible-community/ansible-vault","owner":"ansible-community","description":":key: Ansible role for Hashicorp Vault","archived":false,"fork":false,"pushed_at":"2025-12-11T20:29:27.000Z","size":721,"stargazers_count":396,"open_issues_count":40,"forks_count":196,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-12-13T00:35:07.614Z","etag":null,"topics":["ansible-role","consul","devops","hacktoberfest","hashicorp","vagrant","vault","vault-enterprise","vault-hsm","vault-key","vault-tls","virtualbox"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansible-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-10-14T03:42:58.000Z","updated_at":"2025-12-11T20:29:29.000Z","dependencies_parsed_at":"2023-02-18T10:30:27.107Z","dependency_job_id":"e5ff6d09-69a1-4cf6-bd40-b4623bdc68ac","html_url":"https://github.com/ansible-community/ansible-vault","commit_stats":{"total_commits":490,"total_committers":93,"mean_commits":5.268817204301075,"dds":0.6408163265306123,"last_synced_commit":"5ed64bc4714470d7b9475cdd5ac479608addeff5"},"previous_names":[],"tags_count":155,"template":false,"template_full_name":null,"purl":"pkg:github/ansible-community/ansible-vault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansible-community","download_url":"https://codeload.github.com/ansible-community/ansible-vault/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fansible-vault/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29271900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-role","consul","devops","hacktoberfest","hashicorp","vagrant","vault","vault-enterprise","vault-hsm","vault-key","vault-tls","virtualbox"],"created_at":"2024-09-24T14:09:02.503Z","updated_at":"2026-02-09T16:08:23.727Z","avatar_url":"https://github.com/ansible-community.png","language":"Jinja","funding_links":[],"categories":["Jinja"],"sub_categories":[],"readme":"# Ansible role to install Hashicorp Vault\n[![Ansible Lint](https://github.com/ansible-community/ansible-vault/actions/workflows/ansible-lint.yml/badge.svg?branch=master)](https://github.com/ansible-community/ansible-vault/actions/workflows/ansible-lint.yml?query=branch%3Amaster)\n[![Ansible Molecule](https://github.com/ansible-community/ansible-vault/actions/workflows/molecule.yml/badge.svg?branch=master)](https://github.com/ansible-community/ansible-vault/actions/workflows/molecule.yml?query=branch%3Amaster)\n[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/ansible-community/ansible-vault.svg)](http://isitmaintained.com/project/ansible-community/ansible-vault \"Average time to resolve an issue\")\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/ansible-community/ansible-vault.svg)](http://isitmaintained.com/project/ansible-community/ansible-vault \"Percentage of issues still open\")\n\nThis Ansible role performs a basic [Vault](https://vaultproject.io/)\ninstallation, including filesystem structure and example configuration.\n\nIt can also bootstrap a minimal development or evaluation server or HA\nConsul-backed cluster in a Vagrant based environment. See\n[README_VAGRANT.md](https://github.com/ansible-community/ansible-vault/blob/master/examples/README_VAGRANT.md) and the associated [Vagrantfile](https://github.com/ansible-community/ansible-vault/blob/master/examples/Vagrantfile) for more details about the developer mode setup.\n\n## Installation\nThis role resides on GitHub pending the integration with Ansible Galaxy. To install this role create a `roles/requirements.yml` file in your Ansible project folder with the following contents:\n\n```yaml\n- src: https://github.com/ansible-community/ansible-vault.git\n  name: ansible-community.ansible-vault\n  scm: git\n  version: master\n```\n\nYou can use git tag in the version attribute. Also you can honor its legacy `name: brianshumate.ansible-vault`.\n\n## Quick Start Guide\n\nBasic installation is possible using the included [`site.yml`](examples/site.yml) playbook:\n\n```\nansible-playbook -i hosts site.yml\n```\n\nYou can also pass variables in using the `--extra-vars` option to the\n`ansible-playbook` command:\n\n```\nansible-playbook -i hosts site.yml --extra-vars \"vault_datacenter=maui\"\n```\n\nSpecify a template file with a different backend definition\n(see `templates/backend_consul.j2`):\n\n```\nansible-playbook -i hosts site.yml --extra-vars \"vault_backend_file=backend_file.j2\"\n```\n\nYou need to make sure that the template file `backend_file.j2` is in the\nrole directory for this to work.\n\n## Requirements\n\nThis role requires Archlinux, AmazonLinux, FreeBSD, Debian or a RHEL based Linux distribution. It\nmight work with other software versions, but does work with the following\nspecific software and versions. Sorry, there is no planned support at the moment for Windows.\n\nSee the [molecule scenarios](https://github.com/ansible-community/ansible-vault/tree/master/molecule)\nfor currently tested distributions.\n\n## Warning\n\nBy default, this role may restart `vault` service when played (when there's a\nconfiguration change, OS Packages installed/updated)\n\nWhen there's no auto-unseal setup on your cluster, the restart may lead to a\nsituation where all Vault instances will be sealed and your cluster will be\ndown.\n\nTo avoid this situation, the service restart by the playbook can be disabled\nby using the `vault_service_restart` role variable.\n\nSetting this `vault_service_restart` to `false` will disable the `vault`\nservice restart by the playbook. You may have to restart the service manually\nto load any new configuration deployed.\n\n## [Role Variables](role_variables.md)\n\n## Misc\n\n### [Vault Release Scheme](vault_releases.md)\n\n## License\n\nBSD-2-Clause\n\n## Author Information\n\n[Brian Shumate](http://brianshumate.com)\n\n## Contributors\n\nSpecial thanks to the folks listed in [CONTRIBUTORS.md](https://github.com/brianshumate/ansible-vault/blob/master/CONTRIBUTORS.md) for their\ncontributions to this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible-community%2Fansible-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansible-community%2Fansible-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible-community%2Fansible-vault/lists"}