refactor(configuration): add platform_config dict and replace is_rhel/is_debian with os_family lookups
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Fix SELinux
|
||||
when: is_rhel | bool
|
||||
when: os_family == 'RedHat'
|
||||
block:
|
||||
- name: Fix SELinux by pre-labeling the filesystem before first boot
|
||||
when: os in ['almalinux', 'rocky', 'rhel'] and system_cfg.features.selinux.enabled | bool
|
||||
|
||||
Reference in New Issue
Block a user