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 authored and evgeni committed Mar 5, 2024
1 parent 83a1235 commit f8af0ff
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"

- name: create /etc/hosts
template:
src: hosts.j2
Expand Down

0 comments on commit f8af0ff

Please sign in to comment.