playbook
55 Ansible tutorials tagged “playbook”. Working examples covering automation, configuration management, and DevOps workflows.
Ansible throttle — Limit Concurrent Task Execution Across Hosts
playbooks · 5
Control how many hosts run a task simultaneously with Ansible throttle. Prevent resource exhaustion during rolling updates, API calls, and database.
Ansible Playbook — Write Your First Automation Script
playbooks · 6
Write Ansible playbooks from scratch. YAML syntax, plays, tasks, variables, handlers, and a complete multi-play example. Beginner guide with best.
Ansible run_once — Execute a Task Only Once Across All Hosts
playbooks · 6
Run a task only once in Ansible with run_once: true: which host runs it, combining it with delegate_to and serial, and the strategy: free pitfall to avoid.
Ansible Best Practices — Write Clean, Maintainable Playbooks
best-practices · 3
Essential Ansible best practices: directory structure, naming conventions, idempotency, vault secrets, roles, linting, and CI/CD integration. Proven.
Ansible run_once — Execute a Task on Only One Host
playbooks · 3
How to use Ansible run_once to execute tasks on a single host in a multi-host play. Examples with delegation, serial, and common pitfalls.
Git Checkout a Specific Commit — ansible.builtin.git
playbooks · 3
How to checkout a specific commit of a Git repository using Ansible's ansible.builtin.git module. Tested on real machines with clear, copy-paste examples.
Advanced Ansible Techniques: Leveraging Jinja2 Filters for Smart Data Transformations
playbooks · 3
Unveiling the power of Ansible's Jinja2 filters for advanced data transformations: A step-by-step exploration of smart automation.
Automating depmod with Ansible
playbooks · 3
Learn how to automate the depmod command using Ansible for streamlined kernel module management. Tested on real machines with clear, copy-paste examples.
Creating Custom Ansible Plugins to Fetch API Data Easily
playbooks · 3
Learn how to create custom Ansible plugins to fetch data from APIs. Enhance your automation tasks with this detailed step-by-step guide.
Learn Ansible book technical review by Luca Berton
playbooks · 4
Second Edition: Automate your cloud infrastructure, security configuration, and application deployment. Tested, copy-paste examples included.
Install Ansible on Ubuntu 24.04 LTS — pip & APT Guide
playbooks · 5
Install Ansible on Ubuntu 24.04 Noble Numbat step by step. Covers pip, APT PPA, pipx methods with version pinning and virtual environments.
Ansible Debugger — Interactive Debugging for Failed Tasks
playbooks · 4
How to use the Ansible debugger to inspect and fix failed tasks interactively. Enable with debugger: on_failed, use p, r, c, q commands to examine.
Mastering Time in Ansible: The now() Function Guide
playbooks · 6
Complete guide to the Ansible now() function. Format dates with strftime, calculate uptime, compare timestamps, and use UTC/local time in playbooks.
Automating Dynamic Time Date Facts with Ansible
playbooks · 6
Learn how to work with dates, timestamps, and time formatting in Ansible playbooks using set_fact, now(), ansible_date_time, and strftime filters with.
Automating Jenkins Installation with Ansible
playbooks · 4
Automate Jenkins installation effortlessly with Ansible. This playbook guides through installing Java, adding Jenkins repository, and configuring.
Output Ansible Playbooks as YAML with Callback Plugin
playbooks · 3
Learn how to use Ansible ping module to test connections and customize output with callback plugins, demonstrated with a detailed playbook.
Using Ansible Tree Callback: Save Host Events to Files Easily
playbooks · 3
Discover how to use the Ansible Tree callback to save host events to JSON files. Enhance your logging and auditing with this powerful feature introduced.
Creating Ansible Collection Using ansible-creator and VS Code Ansible Extension
playbooks · 5
Create and scaffold Ansible Collections using ansible-creator and the VS Code Ansible Extension. Complete guide with CLI commands, directory structure.
Ansible no-log-password — Lint Rule Fix
playbooks · 4
Fix ansible-lint no-log-password warnings. When to use no_log: true for passwords, tokens, and secrets in Ansible tasks. Examples and best practices.
Ansible Lint Rule parser-error — Fix YAML Syntax Errors
playbooks · 5
Fix Ansible Lint parser-error by correcting YAML syntax — indentation, spacing, quoting, and structure. Complete guide with common patterns.
Fix Ansible run_once — Common Pitfalls
playbooks · 5
Fix run_once issues in Ansible playbooks. Common mistakes with serial, delegation, variable scope, and how to properly run tasks on a single host.
Ansible ignore_errors — Best Practices
playbooks · 8
Use ignore_errors, failed_when, and block/rescue in Ansible playbooks. Best practices to handle failures without masking real problems.
Ansible troubleshooting — Error 505: missing-import
playbooks · 6
Fix Ansible Lint Error 505 missing-import — causes, examples, and best practices for import_tasks, include_tasks, and roles.
Speed Up Ansible Playbooks — 10 Performance Tips
playbooks · 7
Make Ansible playbooks faster with pipelining, mitogen, async tasks, fact caching, free strategy, and SSH multiplexing. Benchmarks and examples.
Automate Tasks with Ansible: Execute Actions at 10:55
playbooks · 3
Learn how to automate scheduled tasks in Ansible. This guide demonstrates executing a playbook at 10:55, including time calculations and waiting.
Ansible Sudo Password — Secure become
playbooks · 6
Configure sudo password for Ansible become. Use --ask-become-pass, ansible-vault encrypted vars, and NOPASSWD sudoers safely.
Ansible wait_for: Wait for Ports, Files, Conditions
playbooks · 7
Learn the Ansible wait_for module: wait for ports, files, conditions. Covers timeout, delay, parameters, real-world examples, and troubleshooting.
Exploring Ansible Playbook Gather Facts for Displaying Network Information
playbooks · 4
Streamlining Network Information Retrieval with Ansible’s Declarative Playbooks using the setup Ansible module. With clear, copy-paste, step-by-step examples.
Automate Redmine Installation on Ubuntu LTS 22.04 with Ansible
playbooks · 4
Learn how to automate the installation of Redmine on Ubuntu 22.04 LTS using Ansible, ensuring a consistent and efficient deployment process for your.
Ansible set_fact Module: Create Variables at Runtime
playbooks · 5
Learn ansible set_fact module for dynamic variable creation. Master syntax, conditionals, loops, caching, register comparison, and best practices.
Ansible Regex Filters — Search & Replace
playbooks · 7
Use ansible regex_search, regex_findall, and regex_replace filters to search, extract, and transform strings in playbooks. Real-world examples included.
Understanding Ansible Builtin vs Legacy Collections: Key Differences
playbooks · 5
Explore the essential differences between Ansible's ansible.builtin and ansible.legacy collections. Understand how each affects your playbooks with.
Revolutionising Ansible: Testing the Limits of OpenAI’s ChatGPT for Smarter Automation
playbooks · 2
Exploring the Power of OpenAI’s ChatGPT in Revolutionizing Ansible Coding: Advancing Automation to the Next Level. Tested, copy-paste examples included.
Ansible Handler — Run Immediately
playbooks · 2
How to flush the execution of an Ansible handler after the notification task using the ansible.builtin.meta module. Tested, copy-paste examples included.
Two Ways to Run Multiple Ansible Handlers — Ansible Playbook
playbooks · 2
Discover two methods to trigger multiple Ansible handlers based on changed status in playbooks, enhancing task execution efficiency.
How to install ansible-lint in macOS
playbooks · 3
How to install the ansible-lint command line utility and use it to improve our Ansible Playbooks in macOS Intel and Silicon.
Ansible Error 205: Fix playbook-extension Lint Error
playbooks · 4
Fix ansible-lint Error 205 playbook-extension. Learn why playbook files should use .yml extension, not .yaml or other extensions, and how to configure.
Ansible date_time — Timestamp Examples
playbooks · 6
Use the ansible_date_time fact in playbooks: iso8601, epoch and date keys, now() with strftime, timestamped file names, date math, and fixing undefined errors.
Decrypt Ansible Vault — Complete ansible-vault Guide
playbooks · 4
Decrypt Ansible Vault files with ansible-vault decrypt. Complete guide covering password files, vault IDs, inline encrypted variables, and CI/CD.
Use Ansible Vault in Ansbile Playbook — ansible vault
playbooks · 3
Learn how to use Ansible Vault to secure sensitive data such as passwords and access keys in your playbooks with practical examples and a live Playbook.
Ansible Vault — Encrypt Secrets in Playbooks (Complete Guide)
playbooks · 6
Encrypt passwords, API keys, and sensitive files with Ansible Vault. Complete guide covering encrypt_string, vault files, multiple passwords.
Ansible terminology — What is an Ansible Playbook?
playbooks · 3
A step-by-step guide inside the Ansible Playbook anatomy: play, tasks, modules, conditional, loop, handler, variable, list.
Ansible for Windows — Complete Automation Guide
playbooks · 4
Automate Windows systems with Ansible. Complete guide covering WinRM setup, Windows modules, file management, user administration, software deployment,.
Run a Python Script on Remote Machines — Ansible module script
playbooks · 7
How to automate the execution of a "cars.py" custom Python script on a remote machine after transferring it and processing the output as an Ansible.
Ansible: Fix 'Failed to Import botocore or boto3' for AWS
playbooks · 4
Learn how to troubleshoot and fix the "Failed to import the required Python library (botocore or boto3)" error in Ansible for AWS with a live Playbook.
Fix Ansible VMware Certificate Error
playbooks · 4
Learn how to resolve the "certificate verify failed" error in Ansible when connecting to VMware vCenter. Follow our step-by-step guide for a smooth fix.
Ansible Dry Run — Check & Diff Mode
playbooks · 4
Run Ansible playbooks in dry-run mode with --check and --diff. Preview changes before applying, test idempotency, and validate configurations safely.
Use Date and Time in Ansible Without Facts
playbooks · 2
Learn how to use date, time, and timestamp in Ansible playbooks without facts. Follow our Playbook and simple Ansible code examples for quick solutions.
Ansible troubleshooting — VMware Unknown error while connecting to vCenter or ESXi
playbooks · 3
Let’s troubleshoot together the Ansible fatal error “Unknown error while connecting to vCenter or ESXi API, [Errno -2] Name or service not known” to.
Fix Ansible VMware PyVmomi Error
playbooks · 3
Let’s troubleshoot together the Ansible fatal error “Failed to import the required Python library (PyVmomi)” to find the root cause, install the.
Ansible community.vmware Collection Setup
playbooks · 4
Configure Ansible for VMware vSphere with community.vmware collection. Install pyVmomi, set credentials, and manage VMs with complete playbook examples.
How to Run Only One Task in Ansible Playbook? — Ansible tags statement
playbooks · 3
How to select single or multiple tasks, include, import, play, block, and role in an Ansible Playbook using tags parameter of ansible-playbook command.
Three options to Safely Limit Ansible Playbooks Execution to a Single Machine
playbooks · 5
Three options to safely limit Ansible Playbook execution to a single machine using runtime parameters, playbook code, and variables.
Ansible Windows Hosts — Step-by-Step
playbooks · 7
Learn how to configure Windows hosts for Ansible using basic authentication and WinRM. Follow our step-by-step guide to set up and run your first playbook.
Ansible troubleshooting — 'not a valid attribute for a Play'
playbooks · 6
Fix the Ansible error 'not a valid attribute for a Play' — caused by YAML typos like 'task' instead of 'tasks'. Complete list of valid play attributes.