ansible-compare-states
Compare current system state to a baseline snapshot to detect configuration drift and ensure infrastructure consistency.
Instructions
Compare current system state against a previously captured baseline.
Args: host_pattern: Target hosts pattern baseline_snapshot_id: ID of the baseline snapshot to compare against current_snapshot_name: Optional name for the current state snapshot project_root: Project root directory ansible_cfg_path: Ansible config file path inventory_paths: Inventory file paths
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_pattern | Yes | ||
| project_root | No | ||
| inventory_paths | No | ||
| ansible_cfg_path | No | ||
| baseline_snapshot_id | Yes | ||
| current_snapshot_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||