ansible-idempotency
Installation
SKILL.md
Ansible Idempotency Patterns
Techniques for ensuring Ansible tasks are truly idempotent - producing the same result whether run once or multiple times.
Core Directives
changed_when
Controls when Ansible reports a task as "changed". Critical for command and shell modules
which always report changed by default.
- name: Check if service exists
ansible.builtin.command: systemctl status myservice
register: service_check
changed_when: false # Read-only operation, never changes anything
Related skills
More from basher83/lunar-claude
proxmox-infrastructure
Manage the Matrix/Virgo-Core Proxmox VE cluster (nodes Foxtrot, Golf, Hotel - MINISFORUM MS-A2 with AMD Ryzen 9 9955HX). Covers VM provisioning, VLAN networking, CEPH storage, and automation via Python (proxmoxer), Ansible (community.general.proxmox), and Terraform (Telmate/proxmox).
67ansible-proxmox
>
29ansible-fundamentals
>
20ansible-role-design
>
16ansible-testing
>
16claude-agent-sdk
>
12