enable-fips: Fedora also support FIPS
Fedora supports FIPS. There is no version check because the feature is available on all the supported Fedora releases. Change-Id: I924fb565a4d70e7c93a215e9e0a5b2b80bced52a
This commit is contained in:
parent
72581dcaac
commit
3cba437a15
@ -1,10 +1,11 @@
|
||||
---
|
||||
- name: Make sure this role is run on RHEL/CentOS 8 systems
|
||||
fail:
|
||||
msg: This role supports RHEL/CentOS 8 systems only
|
||||
msg: This role supports RHEL/CentOS 8 systems and Fedora only
|
||||
when:
|
||||
- (ansible_distribution != 'CentOS' and ansible_distribution != 'Red Hat Enterprise Linux') or
|
||||
ansible_distribution_major_version != '8'
|
||||
- not (ansible_distribution == 'CentOS' and ansible_distribution_major_version|int >= 8)
|
||||
- not (ansible_distribution == 'Red Hat Enterprise Linux' and ansible_distribution_major_version|int >= 8)
|
||||
- not ansible_distribution == 'Fedora'
|
||||
|
||||
- name: Install fips-mode-setup
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user