diff --git a/roles/satellite-clone/tasks/main.yml b/roles/satellite-clone/tasks/main.yml index 633e60d..eef4ae4 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" - - name: create /etc/hosts template: src: hosts.j2