roles

12 Ansible tutorials tagged “roles”. Working examples covering automation, configuration management, and DevOps workflows.

Ansible group_vars vs host_vars vs role defaults — Variable Organization

playbooks · 5

Compare group_vars, host_vars, and role defaults in Ansible. Learn the right place for every variable with practical directory structure and precedence.

beginner

Ansible roles vs collections — Organize and Share Automation

playbooks · 5

Compare Ansible roles and collections. Learn when to use each, directory structure, installation, and best practices for organizing reusable automation.

beginner

Ansible Galaxy: Install & Manage Roles & Collections

playbooks · 5

Ansible Galaxy: install and manage community roles and collections. Learn ansible-galaxy CLI, requirements.yml, versioning, and create your own roles.

beginner

Ansible Galaxy — Install and Share Roles and Collections

playbooks · 5

Use Ansible Galaxy to install, create, and share roles and collections. Requirements files, private repos, and managing dependencies for your automation.

beginner

Ansible Roles — Organize Playbooks into Reusable Components

playbooks · 6

Structure Ansible automation with roles. Create, use, and share reusable roles with tasks, handlers, variables, templates, and dependencies. Complete.

beginner

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.

Beginner

Ansible Collection Role Testing with Molecule

playbooks · 7

Complete guide to testing Ansible roles with Molecule. Docker and Podman drivers, converge/verify/idempotence, Testinfra verification, CI/CD integration,.

Beginner

Ansible Development: A Comprehensive Guide

playbooks · 4

Learn how to automate IT tasks using Ansible, covering everything from installation to advanced integration with Kubernetes and cloud services.

Advanced

Ansible Documentation: Your Comprehensive Guide

playbooks · 4

Explore Ansible documentation with essential guides, practical examples, and best practices for effective IT automation and management.

Advanced

Ansible Galaxy — Create and Publish Roles and Collections

playbooks · 6

Create and publish Ansible roles and collections to Galaxy. Complete guide to role structure, collection scaffolding, galaxy.yml metadata, testing with.

Beginner

Ansible troubleshooting — Error 106: Role Name Rules

playbooks · 6

Fix Ansible Lint Error 106 role-name — naming conventions for roles using lowercase alphanumeric characters and underscores with practical examples.

Beginner

Ansible Galaxy Roles — GitHub Actions

playbooks · 5

Learn how to automate infrastructure with Ansible Galaxy roles in GitHub Actions. Use Datadog for seamless monitoring integration.

Beginner