Skip to content

Commit

Permalink
more lint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael DAmato authored and Michael DAmato committed Sep 22, 2023
1 parent b9c8f3d commit 92162e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions roles/rke2_common/tasks/rpm_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gpgcheck: "{{ rke2_common_yum_repo.gpgcheck }}"
gpgkey: "{{ rke2_common_yum_repo.gpgkey }}"
enabled: "{{ rke2_common_yum_repo.enabled }}"
when:
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"
Expand All @@ -40,9 +40,6 @@
- ansible_facts['os_family'] == "RedHat" or ansible_facts['os_family'] == "Rocky"
- ansible_facts['distribution_major_version'] == "7" or ansible_facts['distribution_major_version'] == "8"




- name: YUM-Based | Install rke2-server
yum:
name: "rke2-server-{{ rke2_version_rpm }}"
Expand Down

0 comments on commit 92162e6

Please sign in to comment.