ansible-secrets

Retrieve secrets from Infisical vaults for Ansible playbooks.

1|Updated Oct 12, 2025
One-click install
npx skills add https://github.com/basher83/Virgo-Core --skill ansible-secrets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ansible-secrets
Source: https://github.com/basher83/Virgo-Core/tree/main/.claude/plugins/ansible-workflows/skills/ansible-secrets
Command: npx skills add https://github.com/basher83/Virgo-Core --skill ansible-secrets

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical challenge of securely handling sensitive data (passwords, API keys) in Ansible playbooks, preventing hard-coding and exposure in logs, and integrating with external vaults like Infisical.

Core Features & Use Cases

  • Infisical Integration: Seamlessly retrieve secrets from Infisical vault using a reusable task, supporting Universal Auth and environment variable fallbacks.
  • no_log Directive: Master the no_log: true directive to prevent sensitive information from appearing in Ansible logs.
  • Security Best Practices: Learn patterns for validating secret retrieval, limiting secret scope, and isolating secrets by environment.
  • Use Case: Deploy an application that requires a database password and an API key. Use this skill to retrieve these secrets from Infisical, ensuring they are never hard-coded and are protected from logging.

Quick Start

"Show me how to retrieve a database password named 'DB_PASSWORD' from Infisical using the reusable lookup task, and then use it in a task while ensuring it's not logged."