Skip to content

Commit

Permalink
Fix #175 support RHEL 9 family installation including Rocky Linux 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Hosmer committed Nov 29, 2023
1 parent 31bd7b9 commit b798df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/rke2_common/tasks/rpm_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
when:
- not stat_rke2_common_repo.stat.exists
- ansible_facts['os_family'] == "RedHat" or ansible_facts['os_family'] == "Rocky"
- ansible_facts['distribution_major_version'] == "7" or ansible_facts['distribution_major_version'] == "8"
- ansible_facts['distribution_major_version'] == "7" or ansible_facts['distribution_major_version'] == "8" or ansible_facts['distribution_major_version'] == "9"

# Does the Rancher RKE2 versioned repo exist already
- name: Check to see if rke2 versioned repo exists
Expand All @@ -38,7 +38,7 @@
when:
- not stat_rke2_common_repo.stat.exists
- ansible_facts['os_family'] == "RedHat" or ansible_facts['os_family'] == "Rocky"
- ansible_facts['distribution_major_version'] == "7" or ansible_facts['distribution_major_version'] == "8"
- ansible_facts['distribution_major_version'] == "7" or ansible_facts['distribution_major_version'] == "8" or ansible_facts['distribution_major_version'] == "9"

- name: YUM-Based | Install rke2-server
ansible.builtin.yum:
Expand Down

0 comments on commit b798df5

Please sign in to comment.