Skip to main content

Ansible Linux OS patching

· 7 min read
VoidQuark
Open-source enthusiast

Ansible Linux OS patching

Everyone knows that patching packages are not fun. I decided to create an Ansible role that can patch Enterprise Linux ( RHEL ) and other Red Hat derivatives (e.g. CentOS, Rocky, Alma, Fedora ). This role support 3 modes for patching.

  1. Patch all OS packages to the latest version
  2. Apply all security patches
  3. Apply all bugfix patches

Sometimes restart is necessary. In that case, yum-utils (dnf-utils) provide an excellent utility “needs-restarting”. This utility can inform us if a restart is required. If we mix all this we realize that automated patching is not that hard.

Check open port without telnet

· 2 min read
VoidQuark
Open-source enthusiast

Check open port without telnet

This post cover alternatives for checking open port without telnet. Some companies have strict policies and it can happen that telnet is not available.

And you know what? There is no requirement to install telnet. Just check the below alternatives.