[PR #8312/4bd68ac1 backport][stable-6] Disable cpanm tests for RHEL 7 and CentOS 7 (#8314)

Disable cpanm tests for RHEL 7 and CentOS 7 (#8312)

Disable cpanm tests for RHEL 7 and CentOS 7.

(cherry picked from commit 4bd68ac153)

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/8326/head
patchback[bot] 2024-05-05 20:42:35 +02:00 committed by GitHub
parent 820d067c29
commit 2df9748e5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@
- name: bail out for non-supported platforms - name: bail out for non-supported platforms
meta: end_play meta: end_play
when: when:
- (ansible_os_family != "RedHat" or ansible_distribution_major_version|int < 7) - (ansible_os_family != "RedHat" or ansible_distribution_major_version|int < 8) # TODO: bump back to 7
- (ansible_distribution != 'CentOS' or ansible_distribution_major_version|int < 8) # TODO: remove
- ansible_os_family != "Debian" - ansible_os_family != "Debian"
- name: install perl development package for Red Hat family - name: install perl development package for Red Hat family