module

How to Change a User Password with Ansible

How to Change a User Password with Ansible Welcome to another episode of Ansible Pilot!

Continue reading

Ansible troubleshooting - Error markupsafe

Introduction After upgrading Python to version 3.12 on your Mac using Homebrew, you encountered an error when trying to run Ansible: “ERROR: No module named 'markupsafe'”.

Continue reading

The run_once statement in Ansible

Introduction Ansible is a powerful automation tool that makes managing IT infrastructure easier.

Continue reading

Edit single-line text - Ansible Playbook for Changing IP Address of Remote Hosts

Automating the process of updating the IP address and netmask values in the network configuration file of multiple remote hosts can be a time-consuming and tedious task.

Continue reading

Automate Linux User Management with Ansible: A Comprehensive Guide

Automating your Linux user management (local user and group) with Ansible enables you to achieve Infrastructure As Code (IaC).

Continue reading

Understanding Ansible Builtin vs Legacy Collections: Key Differences

What is the “ansible.builtin” Ansible collection? What is the “ansible.legacy” collection?

Continue reading

Bard-ing with Ansible: Streamlining Testing for Google's AI Writing Tool

Google Bard Google Bard is the newest Chat-style Artificial Intelligence created by Google based on the Google Language Model for Dialogue Applications (or LaMDA for short).

Continue reading

Revolutionising Ansible: Testing the Limits of OpenAI’s ChatGPT for Smarter Automation

OpenAI ChatGPT ChatGPT is a revolutionary artificial intelligence in that we can interact in a conversational way.

Continue reading

Create ISO image from Files and Folders - Ansible module iso_create

How to Create ISO image from Files and Folders with Ansible?

Continue reading

Run a Python Script on Remote Machines - Ansible module script

How to Run Python Script on Remote Machines after transferring it?

Continue reading

Run a SQL Command/Query on PostgreSQL - Ansible module postgresql_query

How to Run a SQL Command/Query on PostgreSQL with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Rename a PostgreSQL Database - Ansible module postgresql_db

How to Rename a PostgreSQL Database with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Drop a PostgreSQL Database - Ansible module postgresql_db

How to Drop a PostgreSQL Database with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Automate PostgreSQL Backups with Ansible Playbook

How to Backup a PostgreSQL Database with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Restore a PostgreSQL Database — Ansible module postgresql_db

How to Restore a PostgreSQL Database with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Grant Privileges to User/Role on PostgreSQL Database - Ansible module postgresql_privs

How to Grant Privileges to User/Role on PostgreSQL Database with Ansible?

Continue reading

Configure PostgreSQL with Ansible: User Access and Service Management

How to Allow md5 Connection for a PostgreSQL User / Role with Ansible?

Continue reading

Create PostgreSQL Users/Roles with Ansible: A Simple Guide

How to Create a PostgreSQL User / Role with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Create PostgreSQL Databases with Ansible: Easy Guide

How to Create a PostgreSQL Database with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Install PostgreSQL in Debian-like systems - Ansible modules apt, stat, shell, service

How to Install PostgreSQL with Ansible in RedHat-like systems? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

Install PostgreSQL in RedHat-like systems - Ansible modules yum, stat, shell, service

How to Install PostgreSQL with Ansible in RedHat-like systems? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

How to Create a New LVM Partition with Ansible

How to Create a New LVM Partition with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Configuring Ansible for VMware: Complete Setup Guide & Playbook

How to configure Ansible for VMware? Ansible provides various modules to manage VMware infrastructure, which includes data center, cluster, host system, and virtual machine.

Continue reading

Write a Variable to a File - Ansible module copy vs template

How to write a variable to file with Ansible? From a simple value or the result of complex command execution on the target node often we have the need to write the result to a file.

Continue reading

Set Execute Permission (a+x) on Linux File Using Ansible

How to Add Execute Permission 755 on Linux file with Ansible?

Continue reading