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: