Apr 30, 23
Edit single-line text - Ansible Playbook for Changing IP Address of Remote Hosts
This playbook uses the ansible.builtin.lineinfile and ansible.builtin.service modules to automate the process of updating the IP address and netmask values in the network configuration file and restarting the networking service on remote hosts.
Apr 26, 23
Ansible Linux Users & Groups By Examples
Ansible Modules To Automate the users and group management in Linux
Aug 18, 22
Create ISO image from Files and Folders - Ansible module iso_create
How to automate the creation of a "test.iso" ISO9660 file containing an "helloworld.txt" file using Ansible Playbook and iso_create module.
Jul 7, 22
Search for a String in a File - Ansible module lineinfile
How to automate the search of a string “PasswordAuthentication no” in the “/etc/ssh/sshd_config” file using Ansible Playbook and lineinfile module.
Jul 7, 22
Find All Files with Extension - Ansible module find
How to automate the finding of all files with “.cnf” extension under the “example” directory of “devops” user using Ansible Playbook and find module.
Jun 8, 22
Install PostgreSQL in Debian-like systems - Ansible modules apt, stat, shell, service
How to automate the installation of PostgreSQL on Debian-like systems: installing the necessary packages and dependency, initializing the configuration, starting and enabling service on boot using Ansible Playbook and apt, stat, shell, and service modules.
Jun 1, 22
Create a New LVM Partition - Ansible module parted
How to automate the creation of a new partition /dev/sdb1 on an additional disk initialized for LVM on Linux using Ansible and parted module.
Mar 4, 22
Deploy Apache Web Server in a Docker Container for Debian-like systems - Ansible modules docker_image and docker_container
How to automate the setup of a detached Apache httpd Web Server tag:latest in a Docker Container pass-throw of port 8080 to 80 with a custom webroot for Debian-like systems.
Mar 3, 22
Update Zoom flatpak(s) in Linux systems - Ansible module command
How to automate the update of the Zoom flatpak from version 126.96.36.1990 to 188.8.131.525 in Linux using Ansible module command.
Mar 3, 22
Install Spotify snap in Debian-like systems - Ansible module snap
How to automate the installation of Spotify snap system-wide in Debian-like systems using Ansible module snap.
Mar 2, 22
Install Zoom flatpak in Debian-like systems - Ansible module flatpak
How to automate the installation of Zoom flatpak system-wide in Debian-like systems using Ansible module flatpak.
Feb 24, 22
Deploy a web server apache httpd virtual host on Debian-like systems - Ansible modules apt, file, copy, template, command, ufw and service
How to automate the deployment of a web server apache httpd virtual host "example.com" on Debian-like systems with custom web page taking care of downloading, installing, and enabling the service instantly and on boot and open the relevant firewall ports with Ansible modules apt, file, copy, template, command, ufw, and service. Debian, Ubuntu all the similar distributions.