Working with Ansible loop

Ansible loop provides a lot of methods to repeat certain tasks until a condition is met. A basic example which can be used to install a lot of Linux packages can be written like the below example. – name: Ansible Loop example apt: name: “{{ item }}” state: present with_items: – python3 – ca-certificates – […]

Working with Linux services using Ansible Systemd and Service modules

Init process in Linux is the first process to start on boot, and it tracks all the system services and Daemons. Various Linux Distros have created different implementations of the standard init systems. Currently, the most popular init system adopted by various Linux distros is systemd. In Ansible, the systemd processes can be controlled by systemd […]