From 5b9d09537b56a1d4b9b5a5de60edc6bc2eb89882 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Wed, 20 Sep 2023 14:49:58 +0200 Subject: [PATCH] Drop EL7 specific /etc/hostname check --- roles/satellite-clone/tasks/main.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/satellite-clone/tasks/main.yml b/roles/satellite-clone/tasks/main.yml index f5b471b..fb0e80a 100644 --- a/roles/satellite-clone/tasks/main.yml +++ b/roles/satellite-clone/tasks/main.yml @@ -115,12 +115,6 @@ hostname: name: "{{ hostname }}" -- name: check /etc/hostname - lineinfile: - dest: /etc/hostname - line: "{{ hostname }}" - when: ansible_distribution_major_version == "7" - # Install Satellite packages - name: Enable {{ satellite_module }}:el8 module