AnsiblePilot — Master Ansible Automation
AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,100 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.
Popular Topics
About Luca Berton
Luca Berton is an Ansible automation expert, author of "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example" published by Apress, and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.
Ansible Tutorials & Articles
Browse 1143+ Ansible tutorials covering automation, DevOps, Kubernetes, AWS, VMware, Windows, and more.
- Ansible AWS: Complete Guide to Cloud Automation (2026) — Complete guide to automating AWS with Ansible. Manage EC2, S3, IAM, VPC, RDS, and Lambda with amazon.aws collection and practical examples.
- Ansible Become: Privilege Escalation with sudo, su & runas (Complete Guide) — Master ansible become for privilege escalation. Configure sudo, su, runas with become_user, become_method, become_password. Practical YAML examples for Linux and Windows.
- Ansible check_mode: Dry Run & Test Playbooks Without Making Changes — How to use Ansible check_mode for dry run testing. Run playbooks safely without changes, use --check --diff, test idempotency. Practical YAML playbook examples.
- Ansible when Conditional: Complete Guide with Examples — Complete guide to Ansible when conditionals. Use when statements with facts, variables, registered results, and complex boolean logic in playbooks.
- ansible.builtin.cron Module: Schedule Cron Jobs & Tasks (Complete Guide) — How to manage cron jobs with Ansible cron module (ansible.builtin.cron). Create, modify, remove scheduled tasks, set cron variables. Practical YAML playbook examples.
- Ansible Docker: Complete Guide to Container Automation (2026) — Complete guide to automating Docker with Ansible. Manage containers, images, networks, volumes, and docker-compose with community.docker collection.
- Ansible Handlers: Trigger Tasks on Change (Complete Guide) — How to use Ansible handlers for event-driven task execution. Trigger handlers with notify, flush handlers, listen directive, multiple handlers. Practical YAML playbook examples.
- Ansible ignore_errors: Handle Task Failures (Complete Guide) — Complete guide to Ansible ignore_errors. Handle task failures gracefully, use failed_when, rescue blocks, and control error behavior in playbooks.
- Ansible Inventory: Complete Guide to INI, YAML & Dynamic Inventory — Complete guide to Ansible inventory. Create INI and YAML inventories, use groups, variables, dynamic inventory plugins, and manage multi-environment setups.
- Ansible loop_control: Control Loop Output, Labels & Pauses (Guide) — How to use Ansible loop_control to customize loop behavior. Set labels, limit output with loop_var, add pauses between iterations, index tracking. Practical YAML examples.
- Ansible Loops: Complete Guide with loop, with_items & Examples — Complete guide to Ansible loops. Use loop, with_items, with_dict, loop_control, and complex iteration patterns with practical examples.
- Ansible Nginx: Install, Configure & Automate (Complete Guide) — Complete guide to Ansible Nginx automation. Install Nginx, manage virtual hosts, SSL certificates, reverse proxy, and load balancing with examples.
- Ansible split Filter: Split Strings into Lists (Complete Guide) — How to split strings into lists with Ansible split filter. Split by delimiter, whitespace, regex. Convert CSV to lists, parse output. Practical Jinja2 YAML playbook examples.
- ansible.builtin.template Module: Deploy Jinja2 Templates (Complete Guide) — Complete guide to ansible.builtin.template module. Deploy Jinja2 templates with variables, loops, conditionals to remote hosts. Practical YAML playbook examples.
- Ansible for Windows: Complete Guide to Managing Windows Hosts — Master Ansible for Windows automation. Setup WinRM connection, use win_command, win_shell, win_file, win_service modules. Complete guide with examples.
- ansible.builtin.file Module: Manage Files, Directories & Symlinks (Complete Guide) — Complete guide to ansible.builtin.file module. Create, delete, modify files and directories, set permissions, ownership, symlinks, SELinux context. Practical YAML playbook examples.
- Ansible from_json & to_json Filters: Parse & Convert JSON (Guide) — How to use Ansible from_json and to_json filters. Parse JSON strings, convert variables to JSON, process API responses, and write JSON files with examples.
- Ansible Multiline Strings: YAML Block Scalars | and > (Complete Guide) — How to write multiline strings in Ansible YAML. Literal block (|), folded block (>), chomp indicators, and practical examples for shell commands and templates.
- ansible.builtin.set_fact Module: Set Variables Dynamically (Complete Guide) — Complete guide to ansible.builtin.set_fact module. Set variables dynamically during playbook execution, cache facts across plays, use with conditionals and registered results. Practical examples.
- Ansible to_yaml & to_nice_yaml Filters: Format Data as YAML (Guide) — How to format data as YAML in Ansible with to_yaml, to_nice_yaml, from_yaml filters. Convert dicts and lists to YAML strings. Practical Jinja2 YAML examples.
- Ansible Documentation: Complete Reference & Quick Start Guide (2026) — Your complete Ansible documentation hub. Quick-start guides, module reference, playbook examples, and links to official docs. Everything you need in one place.
- 10 Proven Methods to Optimize Ansible Playbook Performance — Discover 10 practical techniques to boost Ansible Playbook performance, from disabling fact gathering to optimizing SSH settings for faster execution.
- Ansible for PostgreSQL: PGMeetUp Bari 2022 Highlights — Don't miss the PGMeetUp Bari 2022! Discover insights on Ansible for PostgreSQL on June 10th with speaker Luca Berton. Register now for this free event.
- Build Ansible Pilot Community: Ansible Anwendertreffen 2022 — Save the date! Join Luca Berton on February 15, 2022, at Ansible Anwendertreffen for insights on building the Ansible Pilot Community. Register for the virtual event.
- Official Recording Ansible Pilot Community: Ansible Anwendertreffen 2022 — Official Recording! Join Luca Berton on February 15, 2022, at Ansible Anwendertreffen for insights on building the Ansible Pilot Community. Register for the virtual event.
- Luca Berton on 2023's Skills-Based Economy & 2024 Automation Goals — Explore Luca Berton reflections on 2023 skills-based economy and his ambitious goals for 2024. Stay informed on the latest in IT automation and learning.
- A Preview of Ansible Journey in 2024 — Explore Ansible role in IT automation with insights into its core releases, community engagement, and upcoming events in 2024.
- AI-Assisted Inventory Generation in AAP 2.6 — Developer Preview — Explore the new AI-assisted inventory generation feature in AAP 2.6 that automatically creates validated inventory files from natural language descriptions.
- Ansible Automation Platform 2.6 Architecture and Components: Complete Guide — Complete guide to AAP 2.6 architecture and components: Platform Gateway, Automation Controller, Hub, EDA Controller, Automation Mesh, Execution Environments, and PostgreSQL. Understand how each component fits together.
- How to Use the AAP 2.6 Automation Dashboard to Measure ROI — Learn how to use the new automation dashboard in Ansible Automation Platform 2.6 to track ROI, monitor job success rates, and report automation value to stakeholders.
- Key Metrics and KPIs to Track in the AAP 2.6 Automation Dashboard — Which metrics and KPIs to monitor in the AAP 2.6 automation dashboard to demonstrate value, optimize resources, and drive automation adoption.
- AAP 2.6 Automation Mesh: Distributed Execution Across Sites and Networks — Deploy and manage Automation Mesh in AAP 2.6 for distributed automation across data centers, DMZs, and cloud regions. Configure control nodes, execution nodes, and hop nodes with Receptor protocol. Complete topology examples.
- AAP 2.6 Backup, Restore, and Disaster Recovery Guide — Complete guide to backup, restore, and disaster recovery for AAP 2.6. Protect Automation Controller, Hub, EDA, and Platform Gateway data. Backup strategies for containerized, RPM, and Operator deployments.
- AAP 2.6 CI/CD Pipeline Integration: GitOps Workflows with Jenkins, GitLab, and GitHub Actions — Integrate AAP 2.6 into CI/CD pipelines with Jenkins, GitLab CI, and GitHub Actions. GitOps workflows, webhook triggers, Infrastructure as Code testing, approval gates, and automated deployment patterns.
- AAP 2.6 Cloud Automation: AWS, Azure, and GCP with Ansible — Automate multi-cloud infrastructure with AAP 2.6. Provision and manage AWS EC2, Azure VMs, GCP instances, Kubernetes clusters, and cloud-native services. Dynamic inventories, cloud credentials, and IaC patterns.
- AAP 2.6 Compliance and Audit: CIS Benchmarks, STIG, and Regulatory Automation — Automate compliance auditing and remediation with AAP 2.6. Implement CIS benchmarks, DISA STIGs, PCI-DSS, HIPAA, and SOX controls using Ansible playbooks. Continuous compliance monitoring, reporting, and audit trails.
- Configuration as Code with ansible.platform Collection in AAP 2.6 — How to manage your AAP 2.6 deployment as code using the new ansible.platform collection with unified RBAC and standardized variables.
- AAP 2.6 Credential Management: Vaults, External Secrets, and Machine Credentials — Master credential management in AAP 2.6: machine credentials, vault passwords, cloud credentials, custom credential types, external secret backends (HashiCorp Vault, CyberArk, Azure Key Vault), and credential rotation best practices.
- Event-Driven Ansible Enhancements in AAP 2.6 — What's New — Explore the Event-Driven Ansible improvements in AAP 2.6 including external secret management, Kafka enhancements, and EDA-triggered job labeling.
- AAP 2.6 Execution Environments: Build, Manage, and Deploy Custom EEs — Complete guide to Execution Environments in AAP 2.6. Build custom EEs with ansible-builder, manage images in Private Automation Hub, troubleshoot dependency conflicts, and optimize container images for production.
- Integrating HashiCorp Vault with Event-Driven Ansible in AAP 2.6 — Step-by-step guide to integrating HashiCorp Vault for external secret management with Event-Driven Ansible in AAP 2.6.
- AAP 2.6 Job Scheduling and Capacity Planning Guide — Plan and optimize AAP 2.6 capacity for enterprise workloads. Job scheduling strategies, instance group sizing, fork tuning, concurrent job limits, database sizing, and scaling patterns from 50 to 10,000+ managed hosts.
- AAP 2.6 Job Templates and Inventories: Complete Configuration Guide — Configure job templates and inventories in AAP 2.6: static and dynamic inventories, smart inventories, job template surveys, scheduling, notification templates, and launch configuration. Practical examples for enterprise automation.
- Enhanced Kafka Integration for Event-Driven Ansible in AAP 2.6 — How to use the enhanced Kafka support in AAP 2.6 with multiple topics, wildcards, and improved reliability for event-driven automation.
- Getting Started with Ansible Lightspeed Intelligent Assistant in AAP 2.6 — Guide to using the new Ansible Lightspeed intelligent assistant in AAP 2.6 for AI-powered troubleshooting, onboarding, and day-to-day platform management.
- AAP 2.6 Migration from AWX: Complete Upgrade and Data Migration Guide — Migrate from AWX to AAP 2.6 with zero data loss. Export inventories, credentials, job templates, workflows, and schedules. Architecture differences, licensing, feature gaps, and step-by-step migration playbooks.
- AAP 2.6 Monitoring and Logging: Prometheus, Grafana, and Log Aggregation — Monitor AAP 2.6 with Prometheus metrics, Grafana dashboards, and centralized logging. Track job performance, mesh health, capacity planning, and alerting for Automation Controller, Hub, EDA, and Platform Gateway.
- AAP 2.6 Multi-Tenancy: Organizations, Teams, and RBAC at Scale — Implement multi-tenancy in AAP 2.6 with organizations, teams, role-based access control, and resource isolation. Enterprise patterns for shared platform management across business units.
- AAP 2.6 Network Automation: Cisco, Arista, Juniper, and Multi-Vendor Management — Automate network infrastructure with AAP 2.6. Configure Cisco IOS/NX-OS, Arista EOS, Juniper Junos, and multi-vendor environments. Network backup, compliance auditing, configuration templating, and change management workflows.
- New Collections and Integrations in Ansible Automation Platform 2.6 — Overview of new Ansible collections and strategic integrations in AAP 2.6 including networking, cloud, infrastructure, and AIOps domains.
- AAP 2.6 Notifications and Webhooks: Slack, Teams, Email, and Custom Integrations — Configure AAP 2.6 notifications and webhooks for Slack, Microsoft Teams, email, PagerDuty, and custom endpoints. Job status alerts, workflow notifications, approval requests, and EDA-driven alerting.
- AAP 2.6 Private Automation Hub: Manage Collections and EE Images at Scale — Deploy and manage Private Automation Hub in AAP 2.6 for certified collections, custom content, execution environment images, content signing, and approval workflows. Complete guide for air-gapped and enterprise environments.
- Centralized RBAC with the Gateway API in AAP 2.6 — How AAP 2.6 centralizes role-based access control (RBAC) through the platform gateway API for unified identity and access management.
- AAP 2.6 REST API Guide: Automate the Automation Platform — Master the AAP 2.6 REST API for programmatic management. Launch jobs, manage inventories, create credentials, query job results, and integrate AAP with CI/CD pipelines, ServiceNow, and custom applications.
- AAP 2.6 RPM Deprecation — Planning Your Containerized Migration — AAP 2.6 is the last RPM-installable release. Learn how to plan and execute your migration to containerized Ansible Automation Platform before AAP 2.7.
- Exploring the Refreshed UI in Ansible Automation Platform 2.6 — Tour the refreshed user interface in AAP 2.6 featuring a cleaner design, improved responsiveness, and enhanced accessibility features.
- AAP 2.6 SSO Integration: LDAP, SAML, and OIDC Authentication — Configure Single Sign-On for AAP 2.6 with LDAP, SAML 2.0, and OpenID Connect. Integrate Active Directory, Okta, Azure AD, Keycloak, and RHSSO. Map groups to teams, automate user provisioning, and enforce MFA.
- Security Best Practices for Ansible Automation Platform 2.6 — Comprehensive security guide for AAP 2.6 covering RBAC, secrets management, network security, and compliance best practices.
- Setting Up the Self-Service Automation Portal in AAP 2.6 — How to configure and use the new self-service automation portal in Ansible Automation Platform 2.6 to scale automation delivery across your organization.
- Using the AAP 2.6 Self-Service Portal for Network Automation — How network teams can use the AAP 2.6 self-service portal to run pre-approved network automation without Ansible experience.
- Standardized Environment Variables in AAP 2.6 — Migration Guide — AAP 2.6 standardizes environment variables from component-specific names to unified AAP_ prefix. Learn what changed and how to update your configurations.
- AAP 2.6 Troubleshooting Guide: Common Issues and Solutions — Troubleshoot common AAP 2.6 issues: job failures, connectivity problems, performance bottlenecks, database issues, mesh errors, EE problems, and upgrade failures. Diagnostic commands and solutions for every component.
- How to Upgrade from AAP 2.4 to AAP 2.6 — Step-by-Step Guide — Complete guide for upgrading from Ansible Automation Platform 2.4 to 2.6 with direct upgrade path, topology migration, and auth migration details.
- How to Upgrade from AAP 2.5 to AAP 2.6 — Quick Guide — Fast upgrade guide from Ansible Automation Platform 2.5 to 2.6 with simplified process since platform gateway is already installed.
- AAP 2.6 Windows Automation: WinRM, PowerShell, and Active Directory Management — Automate Windows infrastructure with AAP 2.6. Configure WinRM connectivity, run PowerShell scripts, manage Active Directory, deploy IIS, handle Windows Updates, and integrate with domain environments.
- AAP 2.6 Workflow Templates: Advanced Multi-Step Automation Guide — Master AAP 2.6 Workflow Templates for multi-step automation pipelines. Build complex workflows with approval nodes, convergence, inventory overrides, and error handling. Complete examples for enterprise deployment patterns.
- AAP 2.6 ansible-navigator: Modern CLI for Automation Development — Master ansible-navigator for AAP 2.6 development. Interactive TUI, EE integration, playbook execution, inventory browsing, collection exploration, and developer workflow best practices.
- AAP 2.6 vs 2.5 — What's Different and Should You Upgrade? — Side-by-side comparison of Ansible Automation Platform 2.6 and 2.5 features to help you decide when and how to upgrade.
- AAP 2.6 Install Guide: Containerized, RPM & OpenShift Methods (2026) — How to install Ansible Automation Platform 2.6 on RHEL 9, RHEL 10, and OpenShift. Covers containerized installation (recommended), deprecated RPM method, and operator-based deployment. Includes system requirements, inventory files, and network port configurations.
- AAP 2.6 Tested Deployment Models: Growth & Enterprise Topologies Guide — Complete guide to AAP 2.6 tested deployment models and reference architectures. Covers container growth and enterprise topologies, OpenShift operator deployments, RPM topologies, system requirements, network ports, and inventory configuration for each deployment model.
- AAP 2.6 Upgrade Guide: RHEL 8→9, RPM→Containerized Migration Paths — Complete upgrade and migration guide for Ansible Automation Platform 2.6. Covers upgrade from AAP 2.4 and 2.5, RHEL 8 to RHEL 9 migration, RPM to containerized migration, database-centric vs API-centric approaches, PostgreSQL upgrade requirements, and playbook compatibility changes.
- AAP 2.6 vs 2.5 Architecture: Complete Platform Comparison (2026) — In-depth comparison of Ansible Automation Platform 2.6 vs 2.5 architecture. Covers platform gateway evolution, new automation dashboard, self-service portal, Lightspeed assistant, EDA enhancements, UI refresh, Configuration as Code, service accounts, deployment topology changes, and RPM deprecation timeline.
- AI DevOps Ansible Community on Skool — Join Luca Berton's AI DevOps Ansible Community for top-tier training in Ansible, Kubernetes, and Terraform. Access 50+ hours of courses and career support!
- Google Vertex AI vs. Amazon SageMaker: AI Platform Comparison — Compare Google Vertex AI and Amazon SageMaker to find the best AI platform for your projects. Explore features, scalability, and pricing to make an informed choice.
- AIOps: The Future of IT Operations with AI-Driven Automation — Discover how AIOps enhances IT operations by leveraging AI, machine learning, and automation. Learn how it reduces downtime, improves efficiency, and enables self-healing IT environments.
- API Validation with Postman — Learn efficient API validation, error handling, and performance optimization with the hands-on Coursera course 'API Validation with Postman' by Luca Berton.
- ARA Records Ansible: Playbook Reporting & History (Complete Guide) — Complete guide to ARA Records Ansible. Install ARA, view playbook run history, debug failures, and set up the reporting dashboard with examples.
- AWX Behind Reverse Proxy: Nginx, Traefik, Caddy & Apache Setup Guide — Complete guide to running AWX behind Nginx or Traefik reverse proxy. Configure SSL termination, custom domains, WebSocket proxying for live job output, health checks, and load balancing. Includes Docker Compose and Kubernetes ingress examples.
- What Is AWX? Complete Guide to Ansible AWX (Open-Source Tower Alternative) — What is AWX? Complete guide to Ansible AWX — the free, open-source alternative to Ansible Tower. Install on Kubernetes, configure RBAC, job templates, and workflows.
- AWX-TUI: A Terminal User Interface for AWX — Install and Getting Started Guide — AWX-TUI is a new terminal user interface for managing AWX instances from the command line. Learn how to install, configure, and use awx-tui with multi-instance support, dashboards, and job management.
- AWX vs Ansible Tower vs AAP: Key Differences Explained (2026) — Complete comparison of AWX vs Ansible Tower vs Ansible Automation Platform (AAP). Understand the differences in features, licensing, support, and use cases. Choose the right Ansible management platform for your organization.
- Ansible Set File Permissions 755: chmod with file Module Guide — How to set file permissions with Ansible file module. Add execute permission (755, 644, 600), manage ownership, and apply permissions recursively.
- Add Windows Registry on Windows-like systems - Ansible module win_regedit — Learn how to use Ansible win_regedit module to add, change, or remove Windows registry key-values efficiently and accurately with simple Ansible code examples.
- How to Add a Disk to a VMware VM Using Ansible Playbook — Learn how to add a disk to a VMware VM using an Ansible playbook. This guide includes the YAML configuration, variables, and execution steps for easy automation.
- Add Secondary Groups to Linux Users with Ansible Playbook — Learn how to add secondary groups to Linux users with an Ansible playbook. This step-by-step guide includes YAML configuration and execution details.
- Ansible Jinja2 Join Filter: Add Commas Between List Elements — How to add commas between list elements in Ansible Jinja2. Use join filter, loop techniques, and string manipulation for formatted output.
- Configure PostgreSQL with Ansible: User Access and Service Management — Learn how to automate PostgreSQL configuration with Ansible. This guide shows how to set user access with md5 authentication and manage PostgreSQL services.
- ansible.cfg Configuration File: Complete Settings Guide (2026) — Complete guide to ansible.cfg configuration file. Every section explained — defaults, privilege_escalation, ssh_connection, inventory, galaxy. Plus ansible-config list, dump, view, and init commands with examples.
- Ansible 12 Upgrade Guide: Breaking Changes, Data Tagging & What to Test First — Complete Ansible 12 upgrade guide covering breaking changes in ansible-core 2.19, the new Data Tagging system, broken conditionals enforcement, multi-pass templating removal, and step-by-step migration instructions with real playbook fix examples.
- Ansible 13 Upgrade Guide: Breaking Changes, Removals, and Migration Steps — Complete Ansible 13 upgrade guide covering all breaking changes in ansible-core 2.20. Python 3.12+ required, INJECT_FACTS_AS_VARS deprecated, failed_when exception key renamed, PowerShell quote stripping removed, smart transport gone, and collection-level breaking changes with migration examples.
- Ansible 13.5.0 Released: What's New in the Community Package (March 2026) — Ansible 13.5.0 community package released with ansible-core 2.20.4, updated collections including community.docker 5.1.0, community.general 12.5.0, and community.routeros 3.18.0. Complete installation guide.
- Ansible 14.0.0a3 Pre-Release: What's New in Ansible 14 (Preview) — Ansible 14.0.0a3 pre-release overview. New collections, dropped collections, porting guide, and how to prepare for the Ansible 14 community package upgrade.
- Ansible AI Collaboration: New Community Repository for AI Tooling — The Ansible community has proposed a new repository for AI collaboration — a community-driven, LLM-agnostic space for sharing AI tooling, prompts, and workflows for Ansible automation.
- Ansible for AI Infrastructure: Deploy LLMs, GPUs & ML Pipelines (2026 Guide) — Complete guide to automating AI infrastructure with Ansible. Deploy GPU clusters, configure NVIDIA drivers, serve LLMs with vLLM and TGI, manage model training pipelines, optimize inference costs, and scale AI compute for 2026 workloads.
- Ansible for AI-Native Software Development: Automate AI Coding Assistants & DevOps (2026 Guide) — Complete guide to automating AI-native software development infrastructure with Ansible. Deploy GitHub Copilot alternatives, configure AI code review pipelines, manage AI-augmented CI/CD, automate prompt engineering environments, and build AI-native development platforms for 2026.
- Ansible for AI Security: Protect Models, APIs & Data Pipelines (2026 Guide) — Complete guide to AI security automation with Ansible. Protect LLM API endpoints, secure model artifacts, harden ML training pipelines, implement prompt injection defenses, manage AI API keys, and enforce AI governance policies for 2026.
- Ansible for AWS: Complete Guide to Cloud Automation with EC2, S3, RDS, and More — Automate AWS with Ansible. Provision EC2 instances, manage S3 buckets, configure RDS databases, deploy VPCs, set up ELBs, and orchestrate complete AWS infrastructure with practical playbook examples.
- ansible.builtin.command Module: Run Ad-Hoc Commands & Tasks (Guide) — How to run commands with Ansible command module (ansible.builtin.command). Execute ad-hoc tasks, manage remote systems, capture output with register. Practical examples vs shell module comparison.
- Ansible for Agentic AI: Automate Multi-Agent Systems Infrastructure (2026 Guide) — Complete guide to using Ansible for agentic AI infrastructure. Deploy multi-agent systems, orchestrate AI agent workflows, manage LLM backends, configure agent communication, and automate scaling for autonomous AI systems in 2026.
- Ansible Async: Run Long-Running Tasks in Background (Complete Guide) — Complete guide to Ansible async and poll. Run long-running tasks in the background, implement fire-and-forget patterns, parallel execution, check job status, and handle timeouts with practical examples.
Browse by category · Browse by tag · Home