Category DevOps

New way to collect core dump file in Linux

Core dumps are binary files that contain the memory image of a crashed process, which can be invaluable for debugging purposes. To collect a core dump file in Linux, you need to configure your system to generate core dumps when…

Microsoft’s Email Breach: Implications for Cloud Security

Microsoft’s Email Breach: Implications for Cloud Security On July 11, Microsoft disclosed that a Chinese hacking group known as Storm-0558 gained unauthorized access to the email systems of various US government agencies, potentially compromising a significant number of emails. Recent…

2 ways to create users with Ansible

In the realm of IT automation, Ansible has emerged as a powerful tool for streamlining various administrative tasks. Among these tasks, user management stands out as a common and often repetitive process. Ansible provides two primary approaches for creating users:…

Terraform AWS EC2 user data troubleshooting

In AWS EC2 (Elastic Compute Cloud), user data refers to the information or scripts that you can provide to an EC2 instance during its launch. User data can be used to automate instance configuration and perform various tasks on the…

2 ways to create file with Ansible

Create a file with Ansible file module There are a few ways to create a file with Ansible. One way is to use the file module. The file module has a state option that can be set to touch to…

selectattr in Ansible

selectattr in Ansible selectattr is a filter plugin in Ansible that allows you to select a subset of elements from a list of dictionaries based on the value of a particular attribute.  Its syntax is as follows: <list of dictionaries>…

Get MAC address with Ansible

This article is part of the following series.   Get MAC address with Ansible You can use the ansible_default_ipv4.macaddress variable to get the MAC address using Ansible.This is a variable that contains the MAC address of default network interface. Here…