Skip to content

Commit

Permalink
Don't rely on distribution minor version, it's not always present (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkabrda authored Aug 19, 2024
1 parent f6f9532 commit bb12525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/tas_single_node/tasks/os_support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
when: (ansible_facts['distribution'] in ['RedHat', 'CentOS'] and
(ansible_facts['distribution_major_version'] | int < 9 or
(ansible_facts['distribution_major_version'] | int == 9 and
'distribution_minor_version' in ansible_facts and
ansible_facts['distribution_minor_version'] | int < 2)))

- name: Fail if the architecture is not x86_64
Expand Down

0 comments on commit bb12525

Please sign in to comment.