Skip to content

Commit

Permalink
Add conditionals for Rhel9 in common role
Browse files Browse the repository at this point in the history
Signed-off-by: Aswathy S Kumar <aswathyskumar144@gmail.com>
  • Loading branch information
AswathySK committed Nov 12, 2024
1 parent 6f9a6e3 commit d831534
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@
- (ansible_distribution_major_version == "6") or (ansible_distribution_major_version == "7")
tags: build_tools

- name: Install additional build tools for RHEL 8 or RHEL9
- name: Install additional build tools for RHEL >= 8
package: "name={{ item }} state=latest"
with_items: "{{ Additional_Build_Tools_RHEL8 }}"
when:
- (ansible_distribution_major_version == "8") or (ansible_distribution_major_version == "9")
- (ansible_distribution_major_version | int >= 8)
tags: build_tools

- name: Install jq for SBoM parsing for build reproducibility testing
Expand Down

0 comments on commit d831534

Please sign in to comment.