Five questions cover the practical ground: agentless, YAML, comparison, secrets and licensing.
- Why agentless and not agent-based?
Agentless reduces the bootstrap cost: no software to pre-install, no daemon to monitor, no version skew between agent and server. The trade-off is speed at scale and the inability to enforce state continuously between runs.
- Is YAML a real programming language?
No. YAML is a serialization format. Ansible adds templating (Jinja2), conditionals (
when:), loops (with_items) and error handling (block/rescue), but the language remains declarative. Real logic belongs in custom modules written in Python.- Ansible vs Chef vs Puppet vs Salt?
All four manage configuration; they differ in transport (push over SSH vs pull over agents), language (YAML vs Ruby DSL vs Puppet DSL vs YAML/Python) and ecosystem. Ansible wins on bootstrap simplicity; Puppet and Chef win on large-fleet continuous enforcement; Salt wins on speed.
- Where do secrets go?
Never in the playbook, never in
group_varsin plain text. Use Ansible Vault for at-rest encryption, or integrate HashiCorp Vault, AWS Secrets Manager or Azure Key Vault via collections. The commercial Automation Platform adds credential management with audit trails.- What is the licence?
ansible-coreis GPLv3+. Most collections and roles on Galaxy have their own licences (Apache 2.0, MIT, GPL variants). Ansible Automation Platform is a paid Red Hat subscription with support.