Advanced Tutorials

Browse Advanced tutorials with practical examples.

37

Tutorials

15

Beginner

21

Advanced

Ansible Custom Facts — Create Local Facts for Host-Specific Data

Create custom Ansible facts with local fact files, set_fact, and custom fact scripts. Store host-specific data like app versions, roles.

Ansible Jinja2 Filters — map, select, reject, json_query

Master Ansible Jinja2 filters for data transformation. Use map, select, reject, selectattr, json_query, regex_replace, and combine to process complex data.

Ansible Local Connection — Run Tasks on the Controller

Use connection: local to run Ansible tasks on the controller machine. Manage localhost, call APIs, run scripts locally, and provision cloud resources.

Ansible Lookup Plugins — Query External Data Sources

Use Ansible lookup plugins to read files, environment variables, passwords, URLs, and external data. Complete guide to file, env, pipe, url, and custom.

Ansible meta Module — Control Play Execution Flow

Use ansible.builtin.meta to flush handlers, clear facts, end play, refresh inventory, and control Ansible execution flow during playbook runs.

Ansible module_defaults — Set Default Parameters for Modules

Use module_defaults to set default parameters for Ansible modules at play or block level. Reduce repetition for URI headers, connection settings.

Ansible ai-forge — Community AI Skills for Content Development

Contribute to ansible-community/ai-forge — the official repo for AI-powered Ansible content development skills. Structure, test, and share automation.

Ansible AWX API — Automate Jobs Templates and Inventories

Use the AWX REST API from Ansible with the awx.awx collection or the uri module: authenticate, launch job templates, manage inventories, credentials, workflows.

Ansible Dynamic Inventory Script — Custom Host Sources

Write custom dynamic inventory scripts and plugins for Ansible. Pull hosts from APIs, databases, CMDBs, and cloud providers with JSON output format.

Ansible Forks — Parallel Execution and Performance

Configure Ansible forks for parallel task execution. Tune performance with forks, serial, throttle, and async for large-scale infrastructure automation.

Ansible Molecule Testing — Write and Run Role Tests

Test Ansible roles with Molecule using Docker, Podman, and Vagrant drivers. Lint, converge, verify, and integrate with CI/CD pipelines.

Ansible Serial Keyword — Rolling Update Batch Size Strategy

Control rolling updates with Ansible serial keyword. Deploy to batches of hosts with percentage, canary patterns, and max_fail_percentage for.

Ansible ansible-pull — Local Playbook Execution from Git

Use ansible-pull to run playbooks locally from a Git repository. Automate workstation setup, node self-configuration, and cron-based pull mode deployments.

Ansible Ansible Lint Rules — Write Clean Playbooks

Ansible Ansible Lint Rules guide with practical Ansible examples, parameters, and troubleshooting tips. Tested on real machines with clear, copy-paste examples.

Ansible Builder — Build Custom Execution Environments

Build custom Ansible Execution Environments with ansible-builder. Create EE images with collections, Python packages, and system dependencies for.

Ansible CI CD Pipeline — Jenkins GitLab GitHub Actions

Ansible CI CD Pipeline guide with practical Ansible examples, parameters, and troubleshooting tips. Tested, copy-paste examples included.

Ansible Callback Plugin Development — Custom Output

Ansible Callback Plugin Development guide with practical Ansible examples, parameters, and troubleshooting tips. With tested, real-world examples.

Ansible Collections — Create Package and Distribute

Ansible Collections guide with practical Ansible examples, parameters, and troubleshooting tips. With clear, copy-paste, step-by-step examples.

Ansible Connection Plugins — SSH WinRM and Beyond

Ansible Connection Plugins guide with practical Ansible examples, parameters, and troubleshooting tips. With tested, real-world examples.

Ansible Execution Strategy — Linear Free and Debug

Ansible Execution Strategy guide with practical Ansible examples, parameters, and troubleshooting tips. Tested on real machines with clear, copy-paste examples.

Ansible GitOps Workflow — ArgoCD and Flux Integration

Ansible GitOps Workflow guide with practical Ansible examples, parameters, and troubleshooting tips. With tested, real-world examples.

Ansible Inventory Plugin Development — Custom Sources

Ansible Inventory Plugin Development guide with practical Ansible examples, parameters, and troubleshooting tips. Tested, copy-paste examples included.

Ansible Navigator — Modern CLI for Playbooks and EEs

Use ansible-navigator as a modern replacement for ansible-playbook. Run playbooks in Execution Environments, explore inventory, browse docs, and replay.

Ansible Performance Tuning — SSH Pipelining and Mitogen

Ansible Performance Tuning guide with practical Ansible examples, parameters, and troubleshooting tips. Tested, copy-paste examples included.

Ansible Semaphore — Open Source Web UI for Ansible

Ansible Semaphore guide with practical Ansible examples, parameters, and troubleshooting tips. Tested on real machines with clear, copy-paste examples.

Ansible + Serverspec — Test Infrastructure Code

Test Ansible-managed infrastructure with Serverspec. Write RSpec tests to verify packages, services, ports, files, and configurations are correctly.

Ansible Terraform Integration — Infrastructure as Code

Ansible Terraform Integration guide with practical Ansible examples, parameters, and troubleshooting tips. Tested, copy-paste examples included.

Ansible Zero Downtime Deployment — Blue-Green and Canary

Ansible Zero Downtime Deployment guide with practical Ansible examples, parameters, and troubleshooting tips. Tested, copy-paste examples included.

Ansible Action Plugins — Custom Task Execution Logic

Build custom Ansible action plugins to extend task behavior. Action plugin architecture, module wrapper patterns, connection handling, and practical.

Ansible Cache Plugins — Fact Caching for Performance

Speed up Ansible with cache plugins for fact caching. Configure Redis, JSON file, memcached, and MongoDB backends. Reduce gather_facts overhead across.

Ansible Connection Plugins — SSH, WinRM, Local & Network

Understand Ansible connection plugins: SSH, WinRM, local, network_cli, httpapi, and netconf. Configure per-host connection types, troubleshoot.

Ansible Custom Modules — Write Your Own in Python

Build custom Ansible modules in Python. Module structure, argument spec, return values, check mode support, and testing with ansible-test. Complete.

Ansible Mitogen — Accelerate 3-7x

Speed up Ansible playbooks 3-7x with the Mitogen connection plugin. Installation, configuration, benchmarks, compatibility notes, and when to use Mitogen.

Ansible + Testinfra — Validate Infrastructure with Python Tests

Test Ansible playbook results with Testinfra and pytest. Validate packages, services, files, ports, and configurations. Infrastructure testing best.

Configure XFS Filesystem with Quotas on Fedora

Step-by-step guide to mounting XFS filesystems with user and group quotas on Fedora using fstab and systemd mount units.

Root Cause Analysis — Coursera Review

Review of the Coursera Root Cause Analysis course. Key principles, 5 Whys, fishbone diagrams, and how RCA applies to IT incident management.

Exploring the Marvel of Taj Mahal India — A Journey with Luca Berton

Standing in front of the Taj Mahal make me reflect about the importance of cloud-native applications nowadays. With tested, real-world examples.

Want to practice these tutorials?

Try the AI Playground for interactive learning with instant feedback.

Try AI Playground