Chapter 11: Ansible Introduction
11.9 Ansible vs shell scripts — choose deliberately
By Ravindra Bagale · Last updated:
| Prefer Bash when |
Prefer Ansible when |
| One host, short personal glue |
Many hosts, shared team config |
| Quick health curl loop (Ch 5) |
Package/user/file/service convergence |
| Throwaway laptop helper |
Reviewable desired state in Git |
Many teams use both: Ansible for config drift, Bash inside CI for tiny checks.