configuration-management
When an Ansible run fails halfway: rolling back from a CI pipeline
Ansible has no undo button. When a scheduled-pipeline apply fails halfway, getting back to a known state means planning for it before the run: small batches that stop early, file backups and validation, block/rescue for per-host recovery, a revert that goes through the same pipeline, and knowing which changes a revert cannot take back.
Running Ansible from a scheduled CI pipeline instead of cron or AWX
Cron on a management box and AWX both work for running Ansible. A scheduled CI pipeline gives you review, logs, history and secrets handling with less to run. How to set one up: drift checks on a schedule, applies promoted dev, stg, prd with an approval gate, change windows, locking, pinned versions, and the trade-offs.
Detecting configuration drift with Ansible check mode
Hosts get changed by hand. How to use ansible-playbook --check --diff to find out which ones, compare prd, stg and dev, and run it on a schedule that alerts when something drifts.