Ansible

Ansible Logo
  • How To Generate 4096-bit Secure ssh Key with ssh-keygen
    Ssh is a secure protocol used to manage remote systems like Linux, BSD, UNIX, network devices event windows operating systems. The traffic between systems is encrypted. Ssh uses asymmetric keys in order to encrypt and make traffic invisible to the others who reside between systems in the network. The encryption power comes from key bit […]
  • How To Set up SSH Keys on a Linux / Unix System
    I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix-based system? In SSH for Linux/Unix, how do I set up public-key authentication? This page explains a public key and shows you how to set up […]
  • Ansible: yum update, reboot system, and wait_for reboot to complete
    Table of Contents The Objective How to reboot and wait for it to complete with ansible The Ansible Playbook with wait_for module Explanation The Ansible playbook with the Wait_for_connection module Explanation The Execution Results The Objective The purpose of this post is to explain with an example how ansible initiates the reboot and waits for […]
  • Ansible reboot Linux machine or server with playbooks
    Indeed to reboot the VM or bare metal Linux machine/server using Ansible and wait for it to come back but it does not work with the playbook as described here. How to reboot the Linux server with Ansible? How do I reboot and wait for the reboot to complete in the Ansible playbook for multiple […]
  • Hardening SSH with Ansible
    This blog post is going to be about hardening your SSH config with Ansible. This guide will be built upon my earlier post about Updating your Homelab with Ansible and Configuring Linux users and SSH keys with Ansible. This post is mainly focused on Ubuntu/Debian systems. For another distro’s the path to the sshd config might be different. […]