ansible-configure-vm
Skill2 starsChanged 19 days agoApache-2.0View on GitHub
Configure VMs with Ansible playbooks and ad-hoc commands. Run playbooks, install Galaxy roles, ad-hoc modules, inventory management, check mode. Use when configuring VMs or running Ansible against hosts.
In this repository124 other files it gives its agents.
- add-projectSkill
- api-smoke-testSkill
- appinterface-checkSkill
- attach-session-to-jiraSkill
- aws-rds-debugSkill
- beerSkill
- bootstrap-all-knowledgeSkill
- bootstrap-knowledgeSkill
- build-persona-styleSkill
- cancel-pipelineSkill
- cert-checkSkill
- check-ci-healthSkill
- check-integration-testsSkill
- check-mr-feedbackSkill
- check-my-prsSkill
- check-secretsSkill
- ci-retrySkill
- cleanup-branchesSkill
- cleanup-stale-executionsSkill
- clone-jira-issueSkill
- close-issueSkill
- close-mrSkill
- cloud-inventorySkill
- coffeeSkill
- compare-optionsSkill
- create-jira-issueSkill
- create-mrSkill
- create-slide-deckSkill
- data-migration-verifySkill
- debug-local-dbSkill
- debug-prodSkill
- deploy-to-ephemeralSkill
- dev-workflow-orchestratorSkill
- discovered-work-summarySkill
- edit-slide-deckSkill
- email-digestSkill
- environment-overviewSkill
- explain-codeSkill
- export-presentationSkill
- extend-ephemeralSkill
- find-similar-codeSkill
- gather-contextSkill
- gdrive-researchSkill
- gke-cluster-opsSkill
- hello-worldSkill
- hotfixSkill
- inscope-researchSkill
- investigate-alertSkill
- investigate-service-issuesSkill
- investigate-slack-alertSkill
- jira-hygiene-allSkill
- jira-hygieneSkill
- knowledge-refreshSkill
- konflux-statusSkill
- learn-architectureSkill
- learn-patternSkill
- list-presentationsSkill
- local-build-testSkill
- local-dev-environmentSkill
- manage-local-servicesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
If check_mode: ansible_playbook_check(playbook=playbook, inventory=inventory, limit=hosts, tags=tags)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ansible Configure VM
Configure virtual machines using Ansible playbooks and ad-hoc commands.
Inputs
| Input | Type | Default | Purpose |
playbook | string | "" | Path to Ansible playbook |
inventory | string | "inventory.yaml" | Inventory file path |
hosts | string | "all" | Target hosts or group pattern |
tags | string | "" | Ansible tags to run |
check_mode | bool | false | Dry-run (check) mode |
install_requirements | bool | false | Install Galaxy requirements first |
Persona
Load infra persona (ansible, ssh tools).
Workflow
1. Bootstrap
persona_load("infra")check_known_issues("ansible", "")— known Ansible issues
2. Environment Check
ansible_version()— Ansible versionansible_config_dump()— configuration
3. Inventory
ansible_inventory_list(inventory=inventory)— list hostsansible_inventory_graph(inventory=inventory)— inventory graphansible_inventory_host(inventory=inventory, host=hosts)— host variables
4. Connectivity
ssh_test(host=hosts)— SSH connectivityansible_ping(host=hosts, inventory=inventory)— Ansible pingansible_setup(host=hosts, inventory=inventory)— gather facts
5. Galaxy (if install_requirements)
ansible_galaxy_list()— installed rolesansible_galaxy_search(query=playbook)— searchansible_galaxy_install(requirements="requirements.yaml")— install
6. Playbook Operations (if playbook provided)
ansible_playbook_list_tasks(playbook=playbook, inventory=inventory)— list tasksansible_playbook_list_tags(playbook=playbook, inventory=inventory)— list tags- If check_mode:
ansible_playbook_check(playbook=playbook, inventory=inventory, limit=hosts, tags=tags) - Else:
ansible_playbook_run(playbook=playbook, inventory=inventory, limit=hosts, tags=tags)
7. Ad-hoc (if no playbook)
ansible_command(host=hosts, inventory=inventory, command="hostname")ansible_shell(host=hosts, inventory=inventory, command="uptime && free -h")
8. Error Handling
- On "unreachable":
learn_tool_fix("ansible_ping", "unreachable", "Host not reachable via SSH", "Check SSH and host is running") - On "permission denied": ensure SSH key authorized or become password
- On "playbook not found": verify playbook path
9. Session Log
memory_session_log("Ansible configure VM", "playbook={playbook}, hosts={hosts}")
Related Skills
vm_lab_setup— create VMs firstmanage_secrets— vault-encrypted vars
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

