{"id":22640553,"url":"https://github.com/apayu/nvim-ansible-vault","last_synced_at":"2025-04-11T05:42:40.236Z","repository":{"id":262551503,"uuid":"887630843","full_name":"apayu/nvim-ansible-vault","owner":"apayu","description":"A Neovim plugin for handling Ansible vault encrypted files.","archived":false,"fork":false,"pushed_at":"2024-11-13T08:14:40.000Z","size":3,"stargazers_count":6,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T03:41:43.862Z","etag":null,"topics":["ansible","neovim"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apayu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-13T02:24:25.000Z","updated_at":"2025-01-22T16:42:41.000Z","dependencies_parsed_at":"2025-02-03T15:50:39.024Z","dependency_job_id":null,"html_url":"https://github.com/apayu/nvim-ansible-vault","commit_stats":null,"previous_names":["apayu/nvim-ansible-vault"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apayu%2Fnvim-ansible-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apayu%2Fnvim-ansible-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apayu%2Fnvim-ansible-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apayu%2Fnvim-ansible-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apayu","download_url":"https://codeload.github.com/apayu/nvim-ansible-vault/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351444,"owners_count":21089270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","neovim"],"created_at":"2024-12-09T04:12:09.636Z","updated_at":"2025-04-11T05:42:40.214Z","avatar_url":"https://github.com/apayu.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nvim-ansible-vault\n\nA Neovim plugin for handling Ansible vault encrypted files.\n\n## Features\n\n- Automatically detects Ansible vault encrypted files\n- Decrypts vault files using vault password file\n- Supports saving encrypted files with `:w` command\n- Maintains encryption when saving files\n- Supports custom vault password file patterns\n- Integrates with Ansible vault commands\n\n## Installation\n\nUsing [lazy.nvim](https://github.com/folke/lazy.nvim):\n\n```lua\n{\n    \"apayu/nvim-ansible-vault\",\n    config = function()\n        require(\"ansible-vault\").setup({\n            -- Optional custom configuration\n            vault_password_files = {'.vault_pass', '.vault-pass'},\n            patterns = {'*/host_vars/*/vault.yml', '*/group_vars/*/vault.yml'},\n            vault_id = 'default'\n        })\n    end,\n    event = \"BufReadPre */vault.yml\",  -- Load only when opening vault files\n}\n```\n\n## Configuration\n\nDefault configuration:\n\n```lua\n{\n    -- Patterns for vault password files to look for\n    vault_password_files = {'.vault_pass', '.vault-pass'},\n\n    -- File patterns to trigger the plugin\n    patterns = {'*/host_vars/*/vault.yml', '*/group_vars/*/vault.yml'},\n\n    -- Default vault ID to use\n    vault_id = 'default'\n}\n```\n\n## Requirements\n\n- Neovim \u003e= 0.8.0\n- Ansible vault command line tool\n\n## Usage\n\n1. Place your vault password in a `.vault_pass` or `.vault-pass` file in your project directory\n2. Open an encrypted vault file\n3. The plugin will automatically detect and decrypt the file\n4. Edit the file normally\n5. Save with `:w` to encrypt and save the file\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapayu%2Fnvim-ansible-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapayu%2Fnvim-ansible-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapayu%2Fnvim-ansible-vault/lists"}