Category DevOps

3 ways to Remove a User from a Group in Linux

Managing user permissions and access rights is a fundamental aspect of system administration in Linux. In a multi-user environment, users are often assigned to groups to streamline the management of permissions. Groups in Linux are a powerful way to manage…

Using dict2items in Ansible

The dict2items filter in Ansible is used to transform a dictionary into a list of key-value pairs. It’s particularly useful for iterating over a dictionary in playbooks or templates. Dict2items Basic Usage Example of dict2items in a Playbook An example…

Quick Guide to Use set_fact in Ansible

The set_fact module in Ansible is a vital tool used in playbooks to define or alter the value of variables during playbook execution. This dynamic nature of set_fact allows for greater flexibility and adaptability in managing configurations and automating tasks.…

3 Ways to get S3 bucket size in AWS

When it comes to Amazon Web Services (AWS), S3 is one of the most popular services. This is because S3 provides a secure and scalable storage solution for businesses of all sizes. In order to ensure that your S3 buckets…

How to Fix ‘No Such File’ Error

Recently, I encountered a strange problem when executing the binary file protoc, which resulted in the error “no such file or directory: ./protoc”. The file was clearly there, but the error persisted, making me wonder if there was a bug…