Tagged articles
5 articles
Page 1 of 1
Raymond Ops
Raymond Ops
Apr 25, 2025 · Operations

Master Ansible Playbooks: From YAML Basics to Advanced Handlers

This guide walks you through Ansible playbooks, covering YAML syntax rules, data types, sample playbooks for installing software, execution commands, idempotency concepts, and how to use handlers for conditional task execution, providing clear examples and command‑line outputs.

AnsibleAutomationHandlers
0 likes · 10 min read
Master Ansible Playbooks: From YAML Basics to Advanced Handlers
Liangxu Linux
Liangxu Linux
Dec 23, 2020 · Operations

Master Ansible Playbooks: From Basics to Advanced Variable Management

This guide explains what an Ansible playbook is, its YAML syntax, how to write tasks, use inventory limits, manage variables through extra‑vars, vars files, host/group vars, custom facts, control flow with when/changed_when/failed_when, delegate tasks, prompt users, apply tags, and handle errors with blocks and rescue/always sections.

DevOpsHandlersPlaybook
0 likes · 37 min read
Master Ansible Playbooks: From Basics to Advanced Variable Management
MaGe Linux Operations
MaGe Linux Operations
May 12, 2020 · Operations

Master Ansible Playbooks: Syntax, Variables, Handlers & Advanced Tips

This guide explains what an Ansible playbook is, its YAML syntax, how to run tasks on multiple hosts, limit execution with --limit, use inventory files, define variables via extra‑vars, vars, vars_files, host_vars and group_vars, work with facts, register results, apply when conditions, delegate tasks, pause execution, prompt for input, tag tasks, and structure plays with blocks, rescue and always sections.

AnsibleDevOpsHandlers
0 likes · 35 min read
Master Ansible Playbooks: Syntax, Variables, Handlers & Advanced Tips