Change hostname on Linux using Ansible

Overview This article is intended to be a tutorial for the steps on how to change hostname on Linux using Ansible. This means that we’ll be demonstrating how we to set a hostname on a Linux server using Ansible playbook. The end goal of this procedure is to automate the process changing hostname on our remote Linux server. Overall this process is simple when executed manually but this playbook can have it’s uses too....

July 22, 2022 · 2 min · 387 words · MarkoN

How to change hostname on Linux

How to change hostname on Linux Overview In this post we will cover the steps on how to change hostname on Linux. We’ll go through the basics on how to change a hostname on a Linux machine and why we do it and all the steps will be demonstrated using the terminal. Additionally, we’ll showcase a couple of different methods on how to do it. The options we’ll demonstrate can be applied on almost any Linux and can be used for an example to change hostname on Ubuntu/Debian or to change hostname on Fedora/RedHat....

July 14, 2022 · 4 min · 819 words · MarkoN