From eb4a05a9a642236b3239abd0cc6a73a69184b959 Mon Sep 17 00:00:00 2001 From: ace Date: Thu, 30 Nov 2023 21:12:23 +0300 Subject: [PATCH] add rhel9 support --- tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index 020e97f..aed65c0 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -9,7 +9,7 @@ package: name=python3-libselinux state=present when: - ansible_facts['os_family'] == 'RedHat' - - ansible_facts['distribution_major_version'] == '8' + - ansible_facts['distribution_major_version'] >= '8' - name: 'Set selinux state' selinux: