スキル一覧に戻る
oimiragieo

ansible-config

by oimiragieo

1🍴 0📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: ansible-config description: Ansible configuration management and automation with safety controls version: 1.0.0 allowed-tools: [Bash, Read, Glob]

Ansible Configuration Skill

Overview

Provides 90%+ context savings vs raw Ansible operations. Includes critical safety controls for remote execution and configuration management.

Requirements

  • Ansible CLI (v2.9+)
  • SSH access to target hosts
  • Inventory file or dynamic inventory
  • Optional: ANSIBLE_CONFIG, ANSIBLE_INVENTORY environment variables

Tools (Progressive Disclosure)

Playbook Execution

ToolDescriptionConfirmation
playbookRun ansible playbookREQUIRED
playbook-checkDry run with --check flagNo
playbook-diffShow changes with --diffNo

Inventory Management

ToolDescriptionConfirmation
inventory-listList all inventory hostsNo
inventory-graphShow inventory hierarchyNo
host-varsDisplay host variablesNo

Ad-hoc Commands

ToolDescriptionConfirmation
pingTest host connectivityNo
shellExecute shell command on hostsREQUIRED
copyCopy files to remote hostsREQUIRED

Galaxy (Roles & Collections)

ToolDescriptionConfirmation
galaxy-listList installed rolesNo
galaxy-searchSearch Ansible GalaxyNo
galaxy-installInstall role or collectionYes

Vault (Secrets)

ToolDescriptionConfirmation
vault-viewView encrypted fileYes
vault-editEdit encrypted fileREQUIRED
vault-encryptEncrypt fileYes
vault-decryptDecrypt fileYes

Configuration & Documentation

ToolDescriptionConfirmation
config-listShow ansible configurationNo
config-dumpDump full configurationNo
docShow module documentationNo

Blocked Operations

ToolStatus
shell with rm -rfBLOCKED
raw moduleBLOCKED
command with destructive flagsBLOCKED

Quick Reference

# Run playbook
ansible-playbook site.yml

# Check mode (dry run)
ansible-playbook site.yml --check

# Show diff
ansible-playbook site.yml --diff

# Ping all hosts
ansible all -m ping

# List inventory
ansible-inventory --list

# View vault file
ansible-vault view secrets.yml

# Install galaxy role
ansible-galaxy install username.rolename

Configuration

  • ANSIBLE_CONFIG: Path to ansible.cfg file
  • ANSIBLE_INVENTORY: Path to inventory file
  • ANSIBLE_VAULT_PASSWORD_FILE: Path to vault password file
  • Working directory: Must contain playbooks and inventory

Safety Controls

⚠️ All remote execution commands require confirmation ⚠️ Vault operations require confirmation ⚠️ shell/command modules with destructive operations are BLOCKED ⚠️ raw module is BLOCKED (use shell/command instead) ⚠️ Review playbook changes with --diff before applying

Agent Integration

  • devops (primary): Infrastructure automation, configuration management
  • security-architect (secondary): Vault secrets, secure playbooks
  • cloud-integrator (secondary): Cloud inventory, dynamic provisioning

Troubleshooting

IssueSolution
SSH connection failedCheck SSH keys and host accessibility
Vault decrypt failedVerify vault password file or prompt
Module not foundInstall required collection via galaxy
Permission deniedCheck SSH user permissions and become settings
Syntax error in playbookRun ansible-playbook --syntax-check

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です