mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 10:08:37 +03:00
Use python3-libselinux on RHEL8/Centos8 (#5127)
* Use python3-libselinux on RHEL8/Centos8 * The fact ansible_facts.distribution_major_version is not present on older Ansible version. Default it to 0 in when not present and use libselinux-python as package to get current default behaviour.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
184ac6a4e6
commit
4d95bb1421
@@ -1,6 +1,6 @@
|
||||
---
|
||||
required_pkgs:
|
||||
- libselinux-python
|
||||
- "{{ ( (ansible_facts.distribution_major_version | default(0) | int) < 8) | ternary('libselinux-python','python3-libselinux') }}"
|
||||
- device-mapper-libs
|
||||
- ebtables
|
||||
- nss
|
||||
|
||||
Reference in New Issue
Block a user