Ansible
-
Ansible When Conditional Examples: Practical Patterns
Use Ansible when conditionals for facts, variables, loops and task results, with runnable YAML examples and fixes for common errors.
-
Ansible Roles vs Collections Explained: Which to Use
A role packages tasks for one job; a collection ships roles, modules and plugins as one versioned unit. How they differ and which to write first.
-
How to Use Ansible Vault: Encrypt, Edit and Run Secrets
Encrypt secrets with ansible-vault create, encrypt_string and --vault-id, keep variable names greppable, and supply passwords at run time safely.
-
Ansible and Terraform Together: Which Tool Owns Which Layer
Ansible configures hosts and runs operations, while Terraform provisions infrastructure. Compare their roles, overlap, and when to use both.
-
ansible-playbook Options: Flags That Change a Run
A working reference to ansible-playbook flags for scope, preview, task selection and diagnostics, with the check-mode and precedence traps that bite.
-
Ansible Strategies: linear vs free vs host_pinned
Compare Ansible's linear, free, and host_pinned strategies: execution order, tradeoffs, forks, serial, and when each strategy fits.
-
Ansible Inventory: Groups, Variables, and Patterns
How to structure an Ansible inventory: group hierarchies, where variables belong, how same-level groups merge, and the pattern syntax that scopes a run.
-
Ansible Playbook Execution: How Forks and Idempotence Work
How Ansible's agentless model executes a playbook, what the fork count really limits, why idempotence is a discipline, and where Vault secrets belong.