yaml

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

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.

beginner

Fix Ansible Inventory Parsing Errors

troubleshooting · 2

Resolve Ansible inventory parsing failures. Fix YAML syntax, INI format issues, dynamic inventory scripts, and inventory plugin configuration.

beginner

Fix Ansible YAML Syntax Errors — The Complete Debugging Guide

troubleshooting · 2

Debug and fix YAML syntax errors in Ansible playbooks. Common mistakes with indentation, colons, quotes, and booleans with practical examples.

beginner

ARA Records Ansible — Reporting

playbooks · 4

Install and configure ARA Records Ansible to track playbook runs, audit changes, and troubleshoot failures via a web dashboard. Setup guide with examples.

Beginner

Ansible Automation: Transform IT Operations with Ease

playbooks · 5

Discover the power of Ansible Automation for IT operations. Explore key features, benefits, and practical applications to streamline tasks, enhance.

Advanced

Manage Ansible Collection Changelogs with Antsibull-Changelog

fundamentals · 2

Learn how to use Antsibull-Changelog to efficiently manage and document updates in your Ansible collections. Follow this guide to keep your changelogs.

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 validate_argument_spec — Roles

playbooks · 5

Validate role inputs with ansible.builtin.validate_argument_spec. Define required parameters, types, choices, and defaults with complete examples.

Advanced

Ansible Troubleshooting — no-tabs Lint Rule (203)

playbooks · 4

Fix ansible-lint rule 203 (no-tabs). Understand why YAML forbids tab indentation, configure your editor to use spaces, detect and replace tabs.

Beginner

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.

Beginner

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.

Beginner

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.

Beginner

Deploy Kubernetes Resources with Ansible Playbook

playbooks · 4

Learn how to deploy Kubernetes resources using Ansible. Follow this guide to create namespaces, pods, and services with an Ansible playbook.

Beginner

Optimize Kubernetes CPU Resources with Ansible Playbooks

playbooks · 4

Learn to assign CPU resources to Kubernetes and OpenShift pods using Ansible. Streamline your container management with effective resource configuration.

Beginner

Assign Memory to Kubernetes Pods with Ansible

playbooks · 9

Learn how to assign memory resources to Kubernetes or OpenShift containers and pods using Ansible. Follow our live Playbook and simple code 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

Automate Oracle Cloud Infrastructure with Ansible Playbooks

playbooks · 6

Learn how to automate Oracle Cloud Infrastructure with Ansible, from setup to creating and managing compute instance pools.

Advanced

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.

Advanced

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.

Advanced

Automating File Extension Validation with Ansible

playbooks · 3

Learn how to structure an Ansible playbook to validate file extensions, ensuring files end with specified formats like .csv or .txt through practical.

Beginner

Automating File Reading with Ansible

playbooks · 3

Automate reading and displaying text files in a directory with Ansible using find, slurp, and debug modules to manage file content effortlessly.

Advanced

Automating Jenkins Installation with Ansible

playbooks · 4

Automate Jenkins installation effortlessly with Ansible. This playbook guides through installing Java, adding Jenkins repository, and configuring.

Beginner

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.

Advanced

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.

Beginner

Ansible Conditional Role Execution

playbooks · 4

Discover how to use conditional logic in Ansible playbooks to execute roles like Datadog only when specific variables are set, optimizing deployments.

Advanced

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.

Beginner

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.

Beginner

Dynamic Data Construction in Ansible: Managing Users and Groups

playbooks · 3

Explore a practical guide on dynamically managing user accounts and groups in Ansible. Learn how to use Jinja2 templates and set_fact for scalable.

Advanced

Ansible VS Code Extension — Dev Setup

playbooks · 6

Complete guide to setting up VS Code for Ansible development. Install the Red Hat extension, configure YAML, enable Lightspeed AI, and master keyboard.

Advanced

Enhancing Ansible Documentation

playbooks · 3

Join the Initiative to Enhance Module Connections through 'See Also' Suggestions. With clear, copy-paste, step-by-step examples.

Advanced

Enhancing Ansible Role Development with Best Practices with ansible-later

playbooks · 4

Discover ansible-later, a fast and user-friendly linting tool for Ansible roles. Learn about its installation, configuration, and default settings to.

Beginner

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.

Advanced

Ansible-Lint Profiles — Choose the Right Lint Level

playbooks · 5

Configure ansible-lint profiles from min to production. Understand rule severity, skip rules, custom profiles, and CI/CD integration.

Beginner

Generate Clean YAML Output from Ansible Facts

playbooks · 5

Discover how to generate clean YAML output from Ansible facts using Jinja2 templating, ensuring properly formatted data for easy reporting.

Advanced

Ansible Non-Compliant Variable Names

playbooks · 4

A guide to managing non-compliant variable names in Ansible, offering tips on aliasing, linter rule adjustments, and using dictionary structures.

Beginner

Handling Primary Variable Changes Without Breaking Dependencies

troubleshooting · 2

Learn how to address issues caused by changes to primary variables in your configuration or scripts. Discover strategies like validation, error handling,.

Beginner

YAML Multiline Strings — Folded & Literal

playbooks · 3

Break long strings across multiple lines in Ansible YAML. Use folded (>), literal (|), chomp indicators, and Jinja2 line breaks with examples.

Beginner

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.

Advanced

Ansible YAML Indentation Errors: How to Find and Fix Them

playbooks · 5

Complete guide to fixing Ansible YAML indentation errors. Learn common indentation mistakes, how to read error messages, and tools to prevent YAML.

Beginner

Extend Kubernetes API with Custom Resource Definitions (CRDs)

cloud-virtualization · 4

Discover how to define, apply, and manage Custom Resource Definitions (CRDs) in Kubernetes to extend the API for custom resources.

Advanced

Linting Ansible Playbooks: A Guide to Ensuring Consistency and Quality

playbooks · 4

Ensure Ansible playbook quality and consistency with linting. Learn to avoid issues like using the Ansible best practices for reliable deployments.

Beginner

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.

Beginner

Ansible OPA Policy Validation

playbooks · 4

A comprehensive guide to setting up and using the Ansible Policy tool for managing policies in your Ansible projects and create effective Rolebook.

Beginner

Publishing Ansible Collections to Ansible Galaxy and Automation Hub

playbooks · 4

How to distribute our custom Ansible Collection to Ansible Galaxy and Automation Hub. With clear, copy-paste, step-by-step examples.

Beginner

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.

Beginner

Simplify Ansible Output with the community.general.dense Callback Plugin

playbooks · 3

Learn how to reduce verbosity in Ansible output using callback plugins, enhancing efficiency and integration in large-scale automation tasks.

Advanced

Simplifying Ansible Output with the community.general.unixy Callback Plugin

playbooks · 3

Learn how to enhance Ansible playbook readability by using the community.general.unixy callback plugin for cleaner and more concise output.

Advanced

Understanding Split in Ansible: A Powerful Tool for Data Transformation

playbooks · 3

Learn to use the split filter in Ansible Playbooks for tasks like converting CSV strings to lists, extracting substrings, and splitting lists into smaller.

Beginner

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.

Beginner

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.

Beginner