add rhel9 support

This commit is contained in:
ace 2023-11-30 21:12:23 +03:00
parent bc4a555974
commit eb4a05a9a6
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -9,7 +9,7 @@
package: name=python3-libselinux state=present package: name=python3-libselinux state=present
when: when:
- ansible_facts['os_family'] == 'RedHat' - ansible_facts['os_family'] == 'RedHat'
- ansible_facts['distribution_major_version'] == '8' - ansible_facts['distribution_major_version'] >= '8'
- name: 'Set selinux state' - name: 'Set selinux state'
selinux: selinux: