IT Automation

86 Ansible tutorials tagged “IT Automation”. Working examples covering automation, configuration management, and DevOps workflows.

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 AI

playbooks · 3

Explore Ansible Automation AI, your versatile resource for mastering Ansible, from basics to advanced Kubernetes and VMware integrations, simplifying IT.

Advanced

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

Mastering Ansible-Creator: Scaffold Collections and Roles Fast

playbooks · 5

Complete guide to ansible-creator — scaffold Ansible collections, roles, and plugins with proper structure. Installation, commands, VS Code 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

Luca Berton Presents "From Zero to Hero" at Ansible London Meetup

networking · 2

Join Luca Berton at the Ansible London Meetup for his talk on building the Ansible Pilot Community. Learn how to go from zero to hero in automation!

Beginner

Exciting Ansible Updates: Core, Community, AWX, and DevTools

modules · 3

The Ansible ecosystem is buzzing with new releases and updates! Ansible Core 2.17.1 now supports running as a non-root user, while the Community Package.

Beginner

Ansible Product for Lists vs Combine for Dictionaries

playbooks · 3

Learn the distinct use cases of Ansible's `product` filter for lists and `combine` filter for dictionaries. This guide offers practical examples.

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 Molecule Scenarios — Testing

playbooks · 6

Explore Molecule scenarios for testing Ansible roles and playbooks. Learn how to configure and use scenarios for effective development and testing in.

Beginner

Ansible SDK: Run Ansible Programmatically from Python

playbooks · 5

Complete guide to the Ansible SDK Python library. Learn how to run playbooks programmatically, use AnsibleJobDef and JobExecutor, integrate with.

Advanced

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.

Beginner

Fix Ansible Jinja2 & Inventory Errors

playbooks · 6

Fix Jinja2 syntax errors, inventory parsing warnings, and variable quoting issues in Ansible playbooks. Complete troubleshooting guide with solutions.

Advanced

Ansible troubleshooting — Error 102: No Jinja2 in 'when' Conditions

playbooks · 4

The when clause in Ansible playbooks controls task execution based on conditions. Learn to avoid Ansible Error 102 by ensuring correct Jinja2.

Beginner

Ansible troubleshooting — Error 104: Deprecated Bare Vars

playbooks · 4

Ansible Error 104, "Deprecated Bare Vars", identifies ambiguous expressions that could be misinterpreted as variables or strings, promoting clarity in.

Beginner

Ansible troubleshooting — Error 202: Risky Octal Permissions

playbooks · 4

Ansible Error 202, "`risky-octal`", warns against using octal file permissions without a leading zero, which can lead to unpredictable outcomes.

Beginner

Ansible troubleshooting — Error 206 Jinja Spacing

playbooks · 4

Ansible Error 206, "`jinja[spacing]`", ensures proper spacing within Jinja2 templates for improved readability and accuracy

Beginner

Ansible troubleshooting — Error 208: risky-file-permissions

playbooks · 4

Ansible Error 208, "`risky-file-permissions`," warns against insecure file permissions set by modules like ansible.builtin.copy or.

Beginner

Ansible Lint Rule 302: deprecated-command-syntax — Fix Shorthand

playbooks · 4

Fix Ansible Lint rule 302 deprecated-command-syntax by replacing shorthand free-form syntax with structured args. Examples for command, shell, raw.

Beginner

Fix Ansible Error 303 — Use Module

playbooks · 4

Rule 303, command-instead-of-module, advises using Ansible modules over raw commands for improved playbook reliability."

Beginner

Ansible troubleshooting — Error 304: inline-env-var

playbooks · 4

Rule 304, inline-env-var, advises against setting environment variables directly within the ansible.builtin.command module.

Beginner

Ansible troubleshooting — Error 306: risky-shell-pipe

playbooks · 4

Rule 306, risky-shell-pipe, advises setting pipefail to ensure reliable task execution in Ansible shell modules. With tested, real-world examples.

Beginner

Ansible Lint Rule 402: latest[hg] — Pin Mercurial Revisions

playbooks · 4

Fix Ansible Lint rule 402 latest[hg] by pinning Mercurial repository revisions. Learn why HEAD is risky, how to pin commits, and when to skip the rule.

Beginner

Ansible troubleshooting — Error 403: package-latest

playbooks · 5

Using state: latest for package installations in Ansible can introduce unpredictability. Discover how to improve the code with a practical example to.

Beginner

Ansible troubleshooting — Error 404: no-relative-paths

playbooks · 4

Rule 404, no-relative-paths, ensures stability by discouraging the use of relative paths in Ansible copy and template modules.

Advanced

Ansible troubleshooting — Error 501: partial-become

playbooks · 3

Rule 501, partial-become, ensures consistent privilege escalation in Ansible by verifying become_user aligns with become: true

Beginner

Ansible troubleshooting — Error 503: no-handler

playbooks · 3

Rule 503, no-handler, in Ansible ensures tasks responding to changes are structured as handlers for efficient playbook management.

Beginner

Ansible troubleshooting — Error 602: empty-string-compare

playbooks · 4

Ansible Rule 602, empty-string-compare, enhances playbook clarity by promoting direct length comparisons over empty string checks.

Advanced

Ansible troubleshooting — Error 702: meta-no-tags

playbooks · 4

Ansible Rule 702, meta-no-tags, ensures role metadata tags use lowercase letters and digits for consistency and clarity.

Advanced

Ansible troubleshooting — Error 703: meta-incorrect

playbooks · 4

Ansible Rule 703, meta-incorrect, ensures role metadata fields like author, description, company, and license have defined values.

Advanced

Ansible troubleshooting — Error 704: meta-video-links

playbooks · 4

How to solve Ansible Error 704: meta-video-links - A guide to ensuring proper video link formatting. With tested, real-world examples.

Beginner

Ansible troubleshooting — Error args

playbooks · 5

The args rule in Ansible validates task arguments against module documentation, ensuring correct parameter usage for reliable automation.

Advanced

Ansible troubleshooting — Error avoid-implicit

playbooks · 4

The avoid-implicit rule in Ansible identifies and advises against implicit behaviors, promoting explicit instructions for predictable playbook execution.

Beginner

Fix Ansible FQCN Error — Use Fully Qualified Names

playbooks · 4

Fix Ansible FQCN errors by using fully-qualified collection names like ansible.builtin.copy instead of short names. Migration guide with before/after.

Beginner

Ansible troubleshooting — Error galaxy

playbooks · 7

The galaxy rule verifies that the version specified in galaxy.yml for an Ansible collection is at least 1.0.0, ensuring standard versioning for production.

Advanced

Ansible troubleshooting — Error loop-var-prefix

playbooks · 4

The loop-var-prefix rule in Ansible promotes clear variable naming in loops to avoid ambiguity, especially in nested or multiple loop scenarios.

Advanced

Ansible troubleshooting — Error: name[template]

playbooks · 4

The name[template] error in Ansible highlights issues with task naming, particularly involving improper use of Jinja templates.

Advanced

Ansible troubleshooting — Error no-free-form

playbooks · 3

In Ansible, the no-free-form rule promotes clarity and reliability by discouraging free-form syntax in module calls within playbooks.

Beginner

Ansible troubleshooting — Error no-same-owner

playbooks · 4

Learn to avoid pitfalls with Ansible no-same-owner rule, crucial for preventing unintended owner and group mismatches in file transfers.

Beginner

Ansible Lint sanity — Ignore Files

playbooks · 4

Fix Ansible Lint sanity rule errors. Learn about ignore-x.x.txt validation, allowed ignores, cannot-ignore and bad-ignore errors, and Red Hat.

Beginner

Ansible-Core: The Foundation of Modern IT Automation

playbooks · 5

Complete guide to ansible-core — the minimal Ansible runtime. Learn installation, version management, included modules, collections, and how it differs.

Beginner

Ansible-Lint: Complete Guide to Linting Ansible Playbooks

playbooks · 5

Complete guide to ansible-lint — install, configure, run, and integrate into CI/CD. Covers rules, profiles, autofix, custom rules, and .ansible-lint.

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

Automating Distributed File System Replication (DFSR) with Ansible

playbooks · 4

Discover how to set up and automate Distributed File System Replication (DFSR) with Ansible. Ensure reliable, scalable file synchronization.

Beginner

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 Jenkins Installation with Ansible

playbooks · 4

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

Beginner

Automating PostgreSQL Configuration with Ansible Setting Maximum Connections

playbooks · 7

Learn how to use Ansible lineinfile module to configure PostgreSQL max_connections and other settings. Complete guide with playbooks for tuning.

Beginner

Common Interview Questions, Answers and Troubleshooting Tips

interviews · 7

Fix the Ansible FQCN lint error by converting short module names to fully-qualified collection names. Before/after examples for all common modules.

Beginner

Ansible Compare Lists — Data Check

playbooks · 3

Learn how to compare two lists in Ansible playbooks, verify their lengths, and ensure matching elements using robust filters and syntax.

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

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.

Advanced

Custom hello-world Ansible Filter Plugin

playbooks · 3

Unveiling Ansible’s “hello-world” Filter Plugin in foo.bar: A glimpse into personalized automation for tailored solutions.

Advanced

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

Effective Techniques to Clear Host Errors in Ansible Playbooks

playbooks · 4

Discover practical methods to handle and clear host errors in Ansible, ensuring smooth automation and effective error management in your infrastructure.

Beginner

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

Event-Driven Ansible: Revolutionizing IT Automation

playbooks · 4

Discover how Event-Driven Ansible revolutionizes IT automation by enabling real-time responses to changes, ensuring agility, efficiency, and consistency.

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

Ansible Community Insights: The Bullhorn Newsletter Issue #128

modules · 3

Dive into the latest Ansible Community Newsletter, Issue 128, packed with updates on releases, events like FOSDEM, new collections, and community.

Beginner

How to Install Ansible on Ubuntu 23.10 Mantic Minotaur

playbooks · 4

Learn how to install Ansible on Ubuntu 23.10 through a remote SSH session with easy-to-follow steps and commands for seamless automation setup.

Beginner

Integrate Ansible with VMware vRealize Automation Efficiently

playbooks · 7

Learn how to efficiently integrate Ansible with VMware vRealize Automation to automate IT operations, enhance scalability, and ensure consistency.

Advanced

Automating Key Management with Ansible Using ansible.utils.remove_keys

playbooks · 3

Master Ansible's remove_keys utility to remove keys dynamically using regex patterns in playbooks for efficient data management and automation.

Beginner

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.

Advanced

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 Nested List Optimization

playbooks · 2

Learn how to handle and optimize nested lists in Ansible using powerful filters like `flatten` and `unique`. Simplify your playbooks and enhance.

Advanced

Mastering Nested Lists in Ansible Playbooks: A Practical Guide

playbooks · 3

Learn how to handle nested lists in Ansible using powerful filters like flatten and unique. Simplify data structures for efficient automation workflows.

Advanced

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.

Advanced

Participate in the Ansible Project Survey 2024 & Join the Community

cloud-virtualization · 4

Take part in the Ansible Project Survey 2024 to help shape the future of automation. Join the community and share your valuable feedback today!

Advanced

How to Pass Variables to Ansible Playbook via Command Line?

playbooks · 3

How to pass or override an Ansible Playbook variable from the command line in plaintext, JSON, or YAML. It is very useful to combine some script.

Beginner

Red Hat Ansible Automation Platform book by Luca Berton

playbooks · 6

Discover Luca Berton comprehensive guide to the Ansible Automation Platform. Learn to streamline, automate, and enhance IT operations efficiently.

Advanced

RAnsible's leadership in Forrester's evaluation validates its pivotal role in modern IT. As hybrid and multi-cloud environments grow, the need for reliable, scalable automation tools becomes critical. With tools like [Ansible Lightspeed](/articles/ansible-lightspeed-with-ibm-watson-code-assistant), which leverage AI for faster playbook creation, Red Hat continues to innovate, ensuring that Ansible remains indispensable.d Hat Ansible: Forrester Wave Market Leader Q4 2024

playbooks · 3

Discover how Red Hat Ansible leads automation in Forrester Wave Q4 2024. Learn why Ansible is essential for IT professionals in 2024 and beyond.

Beginner

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.

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

Simplify Disk Management with Ansible Quota Module

playbooks · 3

Learn how to use the Ansible quota module to automate disk space quotas for users and groups, ensuring efficient resource management.

Beginner

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

Transforming JSON Data with Ansible and Jinja2

playbooks · 3

Learn how to automate JSON data transformations with Ansible and Jinja2 templates. This guide walks you through a practical example, including.

Advanced

Ansible JSON Parsing — Filter & Transform

playbooks · 4

Parse, filter, and transform JSON data in Ansible playbooks. Use json_query, from_json, to_json, and JMESPath expressions with practical examples.

Advanced

Ansible JSON Transform and Search

playbooks · 4

Learn how to parse JSON data in Ansible, transform it into structured lists, and search for specific criteria using filters like `selectattr`. This guide.

Advanced

Troubleshooting: Configure User Quotas on Ansible Managed Systems

playbooks · 3

Learn how to resolve the error when configuring user quotas in Ansible and ensure quota management is correctly set up on your systems.

Beginner

Ansible XFS User Quotas Config

playbooks · 3

Learn how to resolve the error when configuring user quotas in Ansible on XFS file systems and ensure quota management is correctly set up.

Beginner

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

Ansible Molecule — Docker Testing

playbooks · 4

Explore how to configure Molecule with Docker for testing Ansible roles, ensuring reliable and efficient infrastructure as code with reproducible.

Beginner

Ansible.cfg Configuration — Guide

playbooks · 4

Configure ansible.cfg for your environment. Settings for SSH, inventory, roles_path, callback plugins, and performance tuning with examples.

Advanced