Skip to content

Commit

Permalink
Drop EL7 specific /etc/hostname check
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Sep 20, 2023
1 parent f8b2de9 commit 5b9d095
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions roles/satellite-clone/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b9d095

Please sign in to comment.