module
136 Ansible tutorials tagged “module”. Working examples covering automation, configuration management, and DevOps workflows.
ansible.builtin.stat — Check If File or Directory Exists
playbooks · 5
The ansible.builtin.stat module checks if files, directories, or symlinks exist. Examples: conditional tasks, file properties, size checks, and checksums.
Ansible Docker — Containers & Images
playbooks · 6
Automate Docker with Ansible. Pull images, run containers, manage networks and volumes, deploy with docker_compose, and build images with practical.
Ansible Handlers — notify on Change
playbooks · 5
Trigger service restarts and reloads only when changes occur with Ansible handlers. notify, listen, flush_handlers, and run-once examples.
Ansible Jinja2 Templates — Dynamic Configuration Files
playbooks · 7
Use Ansible template module with Jinja2 to generate dynamic configuration files. Variables, loops, conditionals, filters, and practical template examples.
Ansible Loop — Lists Dicts Files
playbooks · 6
Use Ansible loop to repeat tasks over lists, dictionaries, nested items, and file globs. Replace with_items, with_dict, and with_fileglob with modern loop.
Ansible blockinfile Module: Manage Text Blocks
playbooks · 6
Ansible blockinfile inserts, updates, or removes multi-line text blocks using marker comments — ideal for config sections, SSH keys, and structured content.
Ansible cron Module — Schedule Tasks
playbooks · 7
Manage cron jobs with the Ansible cron module. Create, modify, and remove scheduled tasks with time expressions, environment variables, and special times.
Ansible delegate_to: Run Tasks on Localhost & Other Hosts
playbooks · 4
Ansible delegate_to runs tasks on localhost or remote hosts while keeping variable context. Guide with load balancer, database, monitoring, and DNS examples.
Ansible File Module: Manage Files, Directories, Symlinks
playbooks · 6
Learn the Ansible file module (ansible.builtin.file): create directories, set permissions and ownership, manage symlinks, and delete files.
Ansible git Module — Clone and Manage Git Repositories
playbooks · 4
Use the Ansible git module to clone repos, checkout branches, pull updates, and deploy code from Git. SSH keys, tags, and deployment patterns.
Ansible group Module — Manage Groups
playbooks · 6
Create, modify, and delete Linux groups with the Ansible group module. Manage system groups, GIDs, and user membership with practical playbook examples.
Ansible lineinfile Module — Add, Replace, Remove Lines
playbooks · 6
Add, replace, and remove lines in config files with ansible.builtin.lineinfile. Regex patterns, insertafter, insertbefore, backrefs, and validate examples.
Ansible pip — Manage Python Packages
playbooks · 4
Use the Ansible pip module to install, update, and remove Python packages. Virtual environments, requirements files, and version pinning for Python.
Ansible register: Capture and Use Task Output
playbooks · 6
Use Ansible register to capture task output. Access stdout, stderr, return codes, and use registered variables in conditions, loops, and debug.
ansible.builtin.service: Start, Stop, Restart Services
playbooks · 5
ansible.builtin.service manages system services: start, stop, restart, reload, and enable at boot. Examples, parameters, troubleshooting tips.
Ansible shell — Remote Shell Commands
playbooks · 6
Use the Ansible shell module to run shell commands with pipes, redirects, and environment variables. When to use shell vs command.
Ansible shell vs command Module — When to Use Each
playbooks · 6
Understand the difference between Ansible shell and command modules. When to use pipes, redirects, and environment variables vs simple commands. Examples.
Ansible template Module — Generate Config Files with Jinja2
playbooks · 7
Use the Ansible template module to generate dynamic config files from Jinja2 templates. Variables, loops, conditionals, filters, and validation with.
Ansible unarchive — Extract Archives
playbooks · 5
Use the Ansible unarchive module to extract tar.gz, zip, and bz2 archives. Download and extract from URLs, set permissions, and manage extracted files.
ansible.builtin.user Module: Manage Linux Accounts
playbooks · 6
Manage Linux accounts with ansible.builtin.user: create, modify, and delete users; set passwords, groups, SSH keys, home directories, and shells.
Ansible wait_for — Ports Files Conditions
playbooks · 4
Use the Ansible wait_for module to wait for ports to open, files to appear, services to start, and processes to complete. Deployment orchestration.
Ansible when — Conditional Tasks
playbooks · 5
Control task execution with Ansible when conditional. Test facts, variables, registered results, and combine multiple conditions with and/or logic.
Ansible win_file — Windows Files Dirs
playbooks · 6
Use the Ansible win_file module to create, delete, and manage files and directories on Windows hosts. Includes examples for directory creation, symlinks,.
Set Execute Permission (a+x) on Linux File Using Ansible
playbooks · 3
Learn how to set execute permissions (a+x) on a Linux file using an Ansible playbook. Follow this guide for easy automation with the Ansible file module.
Ansible win_regedit — Registry Keys
playbooks · 3
Learn how to use Ansible win_regedit module to add, change, or remove Windows registry key-values efficiently and accurately with simple Ansible code.
Add Secondary Groups to Linux Users with Ansible Playbook
playbooks · 3
Learn how to add secondary groups to Linux users with an Ansible playbook. This step-by-step guide includes YAML configuration and execution details.
Configure PostgreSQL with Ansible: User Access and Service Management
playbooks · 3
Learn how to automate PostgreSQL configuration with Ansible. This guide shows how to set user access with md5 authentication and manage PostgreSQL.
community.docker.docker_compose_v2 Module — Deploy Apps
playbooks · 6
The community.docker.docker_compose_v2 module deploys and manages Docker Compose stacks with Ansible, including health checks and rolling updates.
Ansible PostgreSQL Management
playbooks · 6
Manage PostgreSQL databases, users, extensions, backups, and replication with Ansible. Complete playbook examples for postgresql_db, postgresql_user.
Ansible Linux User Management Guide
playbooks · 5
Automate Linux user and group management with Ansible. Complete guide covering user creation, group management, SSH keys, password policies, PostgreSQL.
Ansible MySQL and PostgreSQL Database Automation
playbooks · 6
Automate MySQL and PostgreSQL database management with Ansible. Create databases, users, grants, backups, replication setup, and schema migrations using.
Ansible Proxmox Automation — VMs, Containers, and Cluster Management
playbooks · 6
Automate Proxmox VE with Ansible using community.general modules. Create VMs from templates, manage LXC containers, configure storage, networking.
Ansible REST API: Call Web APIs with the uri Module
playbooks · 3
Learn how to call REST APIs from Ansible playbooks using the uri module. Practical examples for GET, POST, PUT, DELETE, authentication, and error handling.
Understanding Ansible Builtin vs Legacy Collections: Key Differences
playbooks · 5
Explore the essential differences between Ansible's ansible.builtin and ansible.legacy collections. Understand how each affects your playbooks with.
Ansible get_url — Download Files
modules · 3
Download files from URLs with ansible.builtin.get_url. Working examples with checksum verification, authentication, proxy support, headers, and timeout.
Ansible iptables — Firewall Rules
playbooks · 6
Manage Linux iptables firewall rules with Ansible. Complete guide to ansible.builtin.iptables module — chains, rules, NAT, port forwarding, rate limiting,.
Ansible shell vs command Module: When to Use Each
modules · 3
Ansible shell vs command module compared — when to use pipes, redirects, and environment variables. Learn best practices and why command is preferred over.
Ansible template Module: Generate Config Files with Jinja2
playbooks · 4
Master the Ansible template module — generate dynamic config files with Jinja2 variables, loops, and conditionals. Practical examples for nginx, systemd,.
Ansible troubleshooting — Error markupsafe
modules · 3
Resolve the No module named markupsafe error in Ansible by reinstalling Ansible, ansible-lint, and python-markupsafe via Homebrew.
Ansible Troubleshooting: Resolving community.aws.ec2_instance Issues
playbooks · 5
Resolve Ansible community.aws.ec2_instance module errors. Fix module not found, missing collections, inventory issues, and migration to.
Ansible user Module — Users & Groups
playbooks · 4
Complete guide to the Ansible user module — create users, set passwords, manage groups, SSH keys, and home directories. Includes group module examples.
Ansible template — Jinja2 Config Files
playbooks · 4
Use the Ansible template module to deploy dynamic configuration files with Jinja2. Variables, loops, conditionals, and real-world template examples.
Automate PostgreSQL Backups with Ansible Playbook
playbooks · 4
Discover how to automate PostgreSQL database backups with Ansible. This guide includes a live Playbook example and detailed execution steps for.
Ansible win_user — Change Password
playbooks · 3
Learn to automate Windows user password changes with Ansible win_user module. Easily update passwords and manage user accounts on Windows-like systems.
Change the User Primary Group on Linux with Ansible
playbooks · 3
Learn how to use Ansible to change a user's primary group on Linux systems with the user module. Streamline user management and ensure consistent group.
Ansible user — Change Password
playbooks · 6
Change user passwords on Linux with Ansible user module. SHA-512 hashing with password_hash filter, Vault encryption, bulk updates, and idempotent.
Ansible Check .NET Framework Version
playbooks · 3
Learn how to check the .NET Framework version on Windows systems with Ansible using the win_reg_stat module. Includes a practical Playbook example.
Ansible stat — Check If Directory Exists
playbooks · 6
Check if a directory exists in Ansible with stat module. Conditional task execution, create-if-missing patterns, and permission verification.
Ansible win_stat — Check Dir Exists
playbooks · 2
Discover how to check if a directory exists on Windows-like systems using Ansible ansible.windows.win_stat module. Follow along with a practical.
Ansible win_stat — Verify Windows File
playbooks · 3
Discover how to check if a file exists on Windows systems with Ansible's win_stat module. This guide includes a live Playbook example and execution.
Checkout Git Repository via HTTPS — Ansible git Module Guide
playbooks · 5
Automate Git repository cloning and updates with Ansible git module. Complete guide covering HTTPS checkout, version pinning, sparse checkout, deploy.
ansible.builtin.git Module — Clone via SSH
playbooks · 5
Clone Git repositories with Ansible's ansible.builtin.git module over SSH. Configure SSH keys, deploy branches/tags, and handle submodules.
Concatenate Multiple Files in Order with Ansible Template
playbooks · 4
Learn how to concatenate multiple files in a specific order with Ansible. This guide demonstrates using the template module and includes practical code.
Ansible community.vmware Collection Setup
playbooks · 4
Configure Ansible for VMware vSphere with community.vmware collection. Install pyVmomi, set credentials, and manage VMs with complete playbook examples.
Configuring Kernel Parameters in RedHat-like Linux Systems with Ansible System Role
playbooks · 4
Learn how to configure kernel parameters in RedHat-like Linux systems using the Ansible System Role. Follow our live Playbook example for efficient.
Copy Multiple Files to Remote Hosts with Ansible Efficiently
playbooks · 3
Discover how to use Ansible fileglob lookup plugin and copy module to efficiently transfer multiple files to remote hosts. Explore practical examples.
Ansible fetch — Copy from Windows
playbooks · 3
Copy files seamlessly from Windows remote hosts using Ansible ansible.builtin.fetch module. Effortlessly fetch example.txt to a local directory.
Ansible fetch Module — Retrieve Files
playbooks · 5
Download files from remote hosts to local machine with ansible.builtin.fetch. Collect logs, configs, and backups with flat, dest, and validate options.
Ansible win_copy — Copy Files to Windows
playbooks · 6
Copy files and folders to Windows remote hosts using ansible.windows.win_copy. Playbook examples with src, dest, content, remote_src, and backup options.
ansible.builtin.copy: Copy Files to Remote Hosts
playbooks · 5
Master ansible.builtin.copy to transfer files, set permissions, create backups, validate configs, and copy directories on remote hosts.
Ansible iso_create — Build ISO Images
playbooks · 4
Create ISO images from files and folders with the Ansible iso_create module. Build bootable ISOs, custom install media, and automated image pipelines.
How to Create a New LVM Partition with Ansible
playbooks · 4
Discover how to automate the creation of LVM partitions on Linux systems using Ansible. This guide walks you through using the community.general.parted.
Create PostgreSQL Databases with Ansible: Easy Guide
playbooks · 3
Learn to automate PostgreSQL database management with Ansible postgresql_db module. Follow our guide to create, delete, and manage databases effortlessly.
Ansible postgresql_user — Create Roles
playbooks · 4
Discover how to create and manage PostgreSQL users and roles with Ansible. Follow our guide for seamless user management on your PostgreSQL server.
Create a directory in Linux — Ansible module file
playbooks · 3
How to set up the "~/example" directory, set user and group ownership, and apply UNIX mode 0644 in Linux using Ansible with a live Playbook.
Ansible win_file — Create Windows Dir
playbooks · 2
Create directories on Windows with Ansible win_file module. Set permissions, create nested paths, and manage folder structures with playbook examples.
Create Hard Links in Linux with Ansible Playbooks
playbooks · 5
Learn to create hard links in Linux using Ansible’s file module. Follow our step-by-step guide and live Playbook example for effective management.
Create Local Groups on Windows with Ansible Playbooks
playbooks · 2
Learn how to create and manage local groups on Windows systems using Ansible’s win_group module. Follow our detailed Playbook example for automation.
Ansible win_user — Create Local Users
playbooks · 3
Learn how to automate the creation and management of local user accounts on Windows systems using Ansible’s win_user module. Follow our detailed.
Ansible File Module Demo: Create Symlinks Easily
playbooks · 3
Discover how to create symlinks with Ansible's file module in this easy-to-follow Playbook. Master Ansible automation with practical examples.
Create Text Files with Ansible copy Module (Playbook Examples)
playbooks · 7
Create and manage text files with Ansible copy module. Complete guide with content parameter, permissions, SELinux, templates, multi-line content.
ansible.builtin.file: Create and Manage Files
playbooks · 5
Learn ansible.builtin.file module: Create empty files with touch, directories, symlinks, and manage permissions and ownership in Ansible playbooks.
Ansible win_file — Files & Dirs
playbooks · 2
Create files, directories, and symlinks on Windows with ansible.windows.win_file. Set permissions, manage paths, and clean up temp files.
Ansible user Module — Create Users
playbooks · 7
Complete guide to ansible.builtin.user module — create accounts, set passwords with SHA-512, manage groups, generate SSH keys, and handle bulk user.
Delete a group — Ansible module group
playbooks · 2
How to delete the \ Step-by-step Ansible tutorial with practical examples and best practices."example\" group or verify that is not present on your.
Ansible: Disable and Lock a Linux User Account
playbooks · 2
Disable a Linux user account with Ansible: set password_lock: true and the nologin shell to block all logins — with copy-paste playbook examples.
Ansible postgresql_db — Drop Database
playbooks · 4
How to automate the delete of a \"testdb\" database on PostgreSQL using Ansible Playbook and postgresql_db module. Tested, copy-paste examples included.
Ansible lineinfile — Change IP Address in Config
playbooks · 6
This playbook uses the ansible.builtin.lineinfile and ansible.builtin.service modules to automate the process of updating the IP address and netmask.
Edit Single Lines in Files — Ansible lineinfile Module Guide
playbooks · 5
Master the Ansible lineinfile module — insert, replace, and remove single lines in files. Complete guide with regexp matching, validation, backreferences,.
Ansible SELinux Permissive Mode
playbooks · 4
How to automate the enabling or disabling of SELinux Permissive policy per single process or domain keeping the whole system under enforcing policy.
Ansible seboolean — SELinux Booleans
playbooks · 8
Enable and disable SELinux booleans with ansible.posix.seboolean. Persist settings across reboots, list booleans, and troubleshoot SELinux policies.
Ansible user Module — Enable and Unlock
playbooks · 2
Re-enable a locked Linux user account with Ansible: set password_lock: false, restore the /bin/bash shell, and verify access — with playbook examples.
Extract Archives with Ansible — unarchive Module Guide
playbooks · 5
Extract zip, tar.gz, and tar.bz2 archives with the Ansible unarchive module. Copy from local or remote URLs, set permissions, and run handlers on extract.
Extract an archive in Windows-like systems — Ansible module win_unzip
playbooks · 2
How to automate the extraction of an example ZIP compressed archive with a text file inside creating the output directory on a Windows-like system with.
Ansible postgresql_privs Module
playbooks · 3
How to automate the granting of all permission for "myuser" user/role on database "testdb" on PostgreSQL using Ansible Playbook and postgresql_privs.
Mitigate CVE-2021-4034 on RHEL with Ansible Playbook
playbooks · 3
HUse Ansible to mitigate CVE-2021-4034 on RHEL systems. Automate the installation of SystemTap, debugging packages, and deploy mitigation scripts.
Install Docker — Ansible apt Module
playbooks · 5
How to automate the installation of the docker-ce engine in Ubuntu 20.04 LTS x86_64 (or amd64) using Ansible Playbook. The procedure is going to take care.
Ansible Install Docker on Linux
playbooks · 6
Learn how to install Docker on Linux systems using an Ansible playbook. Follow our guide for a seamless Docker setup and start process.
Install Docker in Windows-like systems — Ansible module win_chocolatey
playbooks · 2
How to automate the installation of the latest version of Docker Desktop in your Windows-like system with Ansible Playbook and Chocolatey.
Install Google Chrome in Debian like systems — Ansible module apt_key, apt_repository and apt
playbooks · 4
How to install the latest Google Chrome Stable on a Debian-like workstation (Debian, Ubuntu, Linux Mint, MX Linux, Deepin, AntiX, PureOS, Kali Linux,.
Install Google Chrome on Red Hat Using Ansible
playbooks · 4
Use Ansible to install Google Chrome on Red Hat. Follow our detailed playbook to add repositories and install Chrome efficiently.
Install Google Chrome on Suse with Ansible
playbooks · 5
Learn how to install the latest Google Chrome Stable on SUSE Linux Enterprise Server and openSUSE using Ansible. Follow our step-by-step guide.
Install Software on Windows with Ansible — win_chocolatey Module Guide
playbooks · 4
Install, update, and manage Windows software with Ansible's win_chocolatey module. Deploy Chrome, Firefox, VS Code, and any Chocolatey package across.
Install Microsoft Edge on Debian with Ansible
playbooks · 6
Learn how to install Microsoft Edge on Debian using Ansible. Follow our guide for a smooth setup process, including repository and key additions.
Install Microsoft Edge in RedHat-like systems — Ansible module rpm_key, yum_repository and yum
playbooks · 4
How to install the latest Microsoft Edge Stable on a RedHat-like workstation verify software using the public GPG key and set up the Microsoft repository..
Install PostgreSQL in Debian-like systems — Ansible modules apt, stat, shell, service
playbooks · 5
How to automate the installation of PostgreSQL on Debian-like systems: installing the necessary packages and dependency, initializing the.
Install PostgreSQL — Ansible RHEL yum
playbooks · 5
How to automate the installation of PostgreSQL on RedHat-like systems: installing the necessary packages and dependency, initializing the.
ansible.builtin.apt — Install Packages on Debian/Ubuntu
playbooks · 5
Install and manage packages with ansible.builtin.apt on Debian/Ubuntu. Full examples for install, upgrade, remove, cache updates, and .deb files.
Ansible yum and dnf — RHEL Packages
playbooks · 5
Install, update, and remove packages on Red Hat family systems with Ansible's yum and dnf modules. Complete parameter reference, version pinning, group.
Ansible zypper — SUSE Packages
playbooks · 6
Install, update, and remove packages on SUSE and openSUSE with the Ansible zypper module. Repository management, patterns, and playbook examples.
Ansible modprobe — Load Kernel Modules
playbooks · 4
How to automate the Linux Kernel module loading of the "dummy" module with parameters on an example machine with Ansible.
ansible.builtin.template — Loops and Config File Templates
playbooks · 3
The ansible.builtin.template module renders Jinja2 templates to remote hosts. Generate config files and /etc/hosts with loops and dynamic variables.
Ansible firewalld — Open Ports RedHat
playbooks · 7
Open and manage firewall ports on RedHat, CentOS, Fedora with Ansible firewalld module. Complete guide with services, ports, rich rules, zones.
Revolutionising Ansible: Testing the Limits of OpenAI’s ChatGPT for Smarter Automation
playbooks · 2
Exploring the Power of OpenAI’s ChatGPT in Revolutionizing Ansible Coding: Advancing Automation to the Next Level. Tested, copy-paste examples included.
Ansible pause Module — Delays & Prompts
playbooks · 3
Pause Ansible playbook execution with time delays or prompts. Examples with seconds, minutes, and interactive user input.
ansible.builtin.debug — Print Variables and Messages
playbooks · 4
Print variables, messages, and debug info with ansible.builtin.debug. Use msg, var, and verbosity parameters. Debug registered results and facts.
Read file from remote hosts — Ansible module slurp
playbooks · 4
How to automate the read of /proc/cpuinfo file from Linux remote host with Ansible. The file is copied as base 64 encoding and decoded with an Ansible.
Ansible win_reboot — Reboot Windows
playbooks · 6
Reboot Windows servers safely with ansible.windows.win_reboot. Complete guide with pre/post delays, timeout tuning, rolling reboots, conditional.
Ansible reboot Module — Reboot Linux
playbooks · 6
Reboot Linux servers with the Ansible reboot module. Complete guide with pre/post delay, timeout, test commands, rolling reboots, kernel updates.
Ansible win_regedit — Remove Registry
playbooks · 3
How to automate the deletion of the Windows Registry “Test” path with one key “hello” under a specific hive Windows-like systems with Ansible Playbook.
Remove a local group on Windows-like systems — Ansible module win_group
playbooks · 2
How to automate the removal of a local group \"accounting\" on Windows-like systems using the Ansible module win_group. Tested, copy-paste examples included.
Remove a local user on Windows-like systems — Ansible module win_user
playbooks · 2
How to automate the removal of a local user “example” on Windows-like systems using the Ansible module win_user. With tested, real-world examples.
Ansible user — Remove Accounts
playbooks · 4
How to remove user accounts with Ansible user module. Delete users, remove home directories, and manage accounts across Linux, macOS, and FreeBSD..
Rename a PostgreSQL Database — Ansible module postgresql_db
playbooks · 4
Rename a PostgreSQL database with Ansible using the community.postgresql.postgresql_db module. Step-by-step playbook with examples and best practices.
Ansible Rename File or Directory
playbooks · 5
How to rename a file or directory \"foo\", checking the file existence, and performing the verification in a live Playbook and some simple Ansible code.
Ansible service — Restart Services
playbooks · 5
Manage system services with ansible.builtin.service. Start, stop, restart, and enable services on Linux with handlers and conditional examples.
Restore a PostgreSQL Database — Ansible module postgresql_db
playbooks · 5
How to automate the restore of a backup file of a “testdb” database on PostgreSQL using Ansible Playbook and postgresql_db module.
Rolling Update Debian-like systems — Ansible module apt
playbooks · 7
Perform rolling updates on Debian/Ubuntu systems with Ansible apt module — full upgrade, selective updates, serial strategy, and reboot handling.
Ansible Rolling Updates — Patch Servers with Zero Downtime
playbooks · 4
Perform rolling updates on RHEL/CentOS/Fedora with Ansible. Complete guide covering serial batches, pre/post health checks, automatic rollback, kernel.
Rolling Update Windows-like systems — Ansible module win_updates
playbooks · 3
How to automate the Windows Update process and rebook if needed on Windows-like systems using Ansible Playbook and win_updates module.
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.
Ansible postgresql_query — Run SQL
playbooks · 4
Execute SQL queries on PostgreSQL with ansible community.postgresql.postgresql_query. Select, insert, update, and manage databases with playbooks.
Schedule a Cron Job task in Linux — Ansible module cron
playbooks · 5
How to automate the schedule of command execution to a specific minute, hour, day, month, weekday, and user in Linux using cron service.
Ansible sysctl Module — Kernel Tuning
playbooks · 4
Set and persist Linux kernel parameters with ansible.posix.sysctl. Playbook examples for vm.swappiness, ip_forward, file-max, and more.
Set the SELinux Policy States and Modes on Linux — Ansible module selinux
playbooks · 4
How to automate the setting and verification of the "enforcing" SELinux mode and state with "targeted" policy and relabel the filesystem if necessary.
Ansible service_facts — Enable on Boot
playbooks · 5
How to list the available Linux services and automate the start and enable service on boot process with Ansible playbook. Included code and Playbook with.
Ansible service_facts — Stop Services
playbooks · 5
Stop, disable, and manage Linux services with Ansible service and service_facts modules. Control systemd units on remote hosts with playbook examples.
Send Email Notifications with Ansible — community.general.mail
playbooks · 6
Send email reports and alerts with Ansible using community.general.mail. Gmail SMTP setup, HTML emails, attachments, failure notifications.
Submit a GET request to a REST API endpoint — Interact with web services — Ansible module uri
playbooks · 4
How to retrieve a JSON list of users via a GET request to a REST API web service HTTPS endpoint from a remote Linux host in a few lines of Ansible code.
Ansible win_ping — Test Windows Host
playbooks · 5
Use the Ansible win_ping module to test WinRM connectivity and PowerShell availability on Windows hosts. Complete guide with playbook examples,.
The run_once statement in Ansible
playbooks · 6
Learn how to use run_once in Ansible at play and task levels. Understand why run_once may behave differently when strategy is set to free, with.
Ansible wait_for: Wait for Ports, Files, Conditions
playbooks · 7
Learn the Ansible wait_for module: wait for ports, files, conditions. Covers timeout, delay, parameters, real-world examples, and troubleshooting.
Ansible URI — POST & Token Auth Demo
playbooks · 4
Use Ansible to send a POST request and retrieve a token from a server. Learn to automate login processes with Ansible's URI module.
Update Zoom flatpak(s) in Linux systems — Ansible module command
playbooks · 2
How to automate the update of the Zoom flatpak from version 5.9.1.1380 to 5.9.6.2225 in Linux using Ansible module command.
Detect Apache Log4j CVE-2021-44228 with Ansible Playbook
playbooks · 4
Use Ansible to automate the detection of Apache Log4j CVE-2021-44228 vulnerability. Follow this guide to set up and run detection scripts efficiently.
Ansible Write Variable — copy vs template
playbooks · 4
Write Ansible variables to files using copy content parameter or template module. Compare approaches for configs, JSON output, and dynamic content.