Playbooks
-
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-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 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 strategy: free vs linear vs host_pinned
strategy: free lets each host run ahead; linear, the default, moves task by task; host_pinned caps active hosts at forks. YAML and ansible.cfg examples.
-
Ansible Playbook Execution: How Forks and Idempotence Work
Trace an Ansible playbook from inventory to rerun. See what five default forks cap, how serial batches hosts, and how creates guards a task.