administering-linux
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Guide users through creating, managing, and testing server configuration automation using Ansible. When automating server configurations, deploying applications with Ansible playbooks, managing dynamic inventories for cloud environments, or testing roles with Molecule, this
$ npx -y skills add ancoleman/ai-design-components --skill managing-configuration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/managing-configurationContext preview
The summary Claude sees to decide when to auto-load this skill.
Guide users through creating, managing, and testing server configuration automation using Ansible. When automating server configurations, deploying applications with Ansible playbooks, managing dynamic inventories for cloud environments, or testing roles with Molecule, this
name: managing-configuration description: Guide users through creating, managing, and testing server configuration automation using Ansible. When automating server configurations, deploying applications with Ansible playbooks, managing dynamic inventories for cloud environments, or testing roles with Molecule, this skill provides idempotency patterns, secrets management with ansible-vault and HashiCorp Vault, and GitOps workflows for configuration as code.
This skill provides guidance for automating server and application configuration using Ansible and related tools. It covers playbook creation, role structure, inventory management (static and dynamic), secret management, testing patterns, and idempotency best practices to ensure safe, repeatable configuration deployments.
Invoke this skill when:
---
# site.yml
- name: Configure web servers
hosts: webservers
become: yes
tasks:
- name: Ensure nginx is installed
apt:
name: nginx
state: present
notify: Restart nginx
- name: Start nginx service
service:
name: nginx
state: started
enabled: yes
handlers:
- name: Restart nginx
service:
name: nginx
state: restartedRun with:
ansible-playbook -i inventory/production site.yml
Run playbooks multiple times without unintended side effects. Use state-based modules (`present`, `started`, `latest`) instead of imperative commands.
**Idempotent (good):**
- name: Ensure package installed
apt:
name: nginx
state: present**Not idempotent (avoid):**
- name: Install package command: apt-get install -y nginx
See `references/idempotency-guide.md` for detailed patterns.
**Static Inventory:** INI or YAML files for stable environments. **Dynamic Inventory:** Scripts or plugins for cloud environments (AWS, Azure, GCP).
Example static inventory (INI):
[webservers] web1.example.com ansible_host=10.0.1.10 web2.example.com ansible_host=10.0.1.11 [webservers:vars] nginx_worker_processes=4
See `references/inventory-management.md` for dynamic inventory setup.
**Playbooks:** Orchestrate multiple tasks and roles for specific deployments. **Roles:** Reusable, self-contained configuration units with standardized directory structure.
Standard role structure:
roles/nginx/ ├── defaults/ # Default variables ├── tasks/ # Task files ├── handlers/ # Change handlers ├── templates/ # Jinja2 templates ├── files/ # Static files └── meta/ # Dependencies
See `references/role-structure.md` for complete role patterns.
**ansible-vault:** Built-in encryption for sensitive data. **HashiCorp Vault:** Enterprise-grade secrets management with dynamic credentials.
Encrypt secrets:
ansible-vault create group_vars/all/vault.yml ansible-playbook site.yml --ask-vault-pass
See `references/secrets-management.md` for Vault integration.
**Step 1:** Define inventory
# inventory/production [webservers] web1.example.com web2.example.com
**Step 2:** Create playbook structure
---
- name: Configure application
hosts: webservers
become: yes
pre_tasks:
- name: Update package cache
apt:
update_cache: yes
roles:
- common
- application
post_tasks:
- name: Verify service
uri:
url: http://localhost:8080/health
status_code: 200**Step 3:** Test with check mode
ansible-playbook -i inventory/production site.yml --check --diff
**Step 4:** Execute playbook
ansible-playbook -i inventory/production site.yml
See `references/playbook-patterns.md` for advanced patterns.
**Step 1:** Initialize role structure
ansible-galaxy init roles/myapp
**Step 2:** Define tasks
# roles/myapp/tasks/main.yml
---
- name: Install application dependencies
apt:
name: "{{ item }}"
state: present
loop: "{{ myapp_dependencies }}"
- name: Deploy application
template:
src: app.conf.j2
dest: /etc/myapp/app.conf
notify: Restart myapp**Step 3:** Add handler
# roles/myapp/handlers/main.yml
---
- name: Restart myapp
service:
name: myapp
state: restarted**Step 4:** Initialize Molecule testing
cd roles/myapp molecule init scenario default --driver-name docker
**Step 5:** Run tests
molecule test
See `references/testing-guide.md` for comprehensive testing patterns.
**Step 1:** Install AWS collection
ansible-galaxy collection install amazon.aws
**Step 2:** Configure dynamic inventory
# inventory/aws_ec2.yml
plugin: aws_ec2
regions:
- us-east-1
filters:
tag:Environment: production
instance-state-name: running
keyed_groups:
- key: tags.Role
prefix: role
hostnames:
- tag:Name
compose:
ansible_host: private_ip_address**Step 3:** Verify inventory
ansible-inventory -i inventory/aws_ec2.yml --list
**Step 4:** Run playbook
ansible-playbook -i inventory/aws_ec2.yml site.yml
See `references/in
Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude
Repo: ancoleman/ai-design-components
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations.…
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional,…
Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when planning VPC topology,…
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF,…
Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated token integration, proper import…