IT automation
86 Ansible tutorials tagged “IT automation”. Working examples covering automation, configuration management, and DevOps workflows.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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!
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.
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.
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.
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!
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.
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.
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.
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.
Ansible Documentation: Your Comprehensive Guide
playbooks · 4
Explore Ansible documentation with essential guides, practical examples, and best practices for effective IT automation and management.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Automating Jenkins Installation with Ansible
playbooks · 4
Automate Jenkins installation effortlessly with Ansible. This playbook guides through installing Java, adding Jenkins repository, and configuring.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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,.
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.
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.
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.
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.
Ansible troubleshooting — Error args
playbooks · 5
The args rule in Ansible validates task arguments against module documentation, ensuring correct parameter usage for reliable automation.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
Ansible troubleshooting — Error 206 Jinja Spacing
playbooks · 4
Ansible Error 206, "`jinja[spacing]`", ensures proper spacing within Jinja2 templates for improved readability and accuracy
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.
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.
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."
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.
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.