AGENT SKILL

ansible

IT automation tool for configuration management, application deployment, and task automation

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
ansible
description
IT automation tool for configuration management, application deployment, and task automation

03 SKILL.md 正文

Ansible Plugin

Automate IT infrastructure with Ansible.

Commands

  • ansible <resource> <action> — Execute ansible commands
  • ansible self version — Print ansible version
  • ansible inventory list — List hosts in inventory
  • ansible playbook run — Run an Ansible playbook
  • ansible galaxy install — Install a role or collection from Ansible Galaxy
  • ansible galaxy search — Search Ansible Galaxy for roles and collections
  • ansible vault encrypt — Encrypt a file with Ansible Vault
  • ansible vault decrypt — Decrypt a file with Ansible Vault
  • ansible _ _ — Passthrough to ansible CLI

Usage

  • ansible self version — Print ansible version
  • ansible inventory list [-i <inventory>] — List hosts in inventory
  • ansible playbook run <playbook> [-i <inventory>] [--check] [--diff] — Run a playbook
  • ansible galaxy install <name> — Install a Galaxy role/collection
  • ansible galaxy search <query> — Search Galaxy for roles/collections
  • ansible vault encrypt <file> — Encrypt a file with Vault
  • ansible vault decrypt <file> — Decrypt a file with Vault
  • ansible _ _ <args> — Passthrough any ansible command

Examples

# Check all hosts are reachable
ansible all -m ping -i inventory.ini

# Run a playbook in check mode
ansible-playbook site.yml --check -i inventory.ini

# Install a role from Galaxy
ansible-galaxy install geerlingguy.nginx

04 同仓库更多 Skills