bedkillerspacex-boop/codex-skill-library/ansible-vault-usage
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Ansible Vault encrypt/decrypt, vault IDs, password files, rekey, and CI secret injection so playbooks never commit plaintext secrets. Use when ansible-vault, vault_id, encrypted group_vars/host_vars, vault password file, rekey, or CI decrypt for ansible-playbook on owned repos — not HashiCorp Vault product ops alone (different tool).
Install
npx vskill@latest install bedkillerspacex-boop/codex-skill-library/ansible-vault-usageSKILL.md
The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/ansible-vault-usage.
Ansible Vault Usage
Scope And Authorization
- In scope: Ansible repositories and inventories you operate.
- Out of scope: Decrypting vault files without authorization; committing vault passwords.
- Note: Ansible Vault ≠ HashiCorp Vault (see catalog for HV). This skill is Ansible’s encrypt-at-rest for vars/files.
- Pair with
ansible-role-testingandsecrets-management-hygiene.
When To Use
- Encrypting
group_vars/host_vars/ secret files in git. - Multiple vault IDs (dev vs prod).
- CI playbook runs that need decrypt.
- Rekey after personnel change or password leak.
Do Not Use As Primary
| Need | Skill instead | |
|---|---|---|
| Molecule/lint role testing | ansible-role-testing | |
| HashiCorp Vault server | vault skills in catalog | |
| Age/SOPS file encryption | age-encryption-cli | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| Command / concept | Use | |
|---|---|---|
ansible-vault encrypt | Whole file | |
encrypt_string | Inline secret in YAML | |
decrypt / view / edit | Access plaintext safely | |
--vault-id | Named passwords | |
rekey | Change password | |
| Password file / prompt | Runtime unlock |
Workflow
1. Confirm success criteria
- No plaintext secrets in git history going forward; vault password distribution documented; CI works; rekey runbook exists.
- Decide single vault vs multiple IDs (
dev@prompt,prod@prompt).
2. Encrypt secrets
3. Vault IDs and password files
4. Edit / view safely
5. CI injection
- Prefer OIDC to cloud secret stores over long-lived CI secrets when possible.
- Mask passwords in CI logs.
6. Rekey and rotation
- Rotate when someone with password leaves.
- Verify playbook after rekey in staging.
7. Verify hygiene
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| Storage | Encrypted vault.yml in git | Plain password: hunter2 | |
| Passwords | Password manager / CI secret | Vault pass committed | |
| Scope | Split prod/dev vault IDs | One password forever for all envs | |
| Edits | ansible-vault edit | Decrypt, commit plain, re-encrypt later |
Output Checklist
- [ ] Secrets identified and encrypted
- [ ] Vault IDs strategy documented
- [ ] Password distribution + gitignore done
- [ ] Playbook decrypt works locally and CI
- [ ] Rekey runbook tested
- [ ] Lint/secret scan clean of plaintext
- [ ]
code-quality-standardsapplied
Rules
- Never commit vault passwords or decrypted secrets.
- Use vault IDs to separate environments.
- Rekey on personnel or suspected leak.
- Ansible Vault protects git rest; still use least privilege on hosts.
- Do not confuse with HashiCorp Vault operations.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingansible-vault-usage/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/ansible-vault-usage)