If SELinux is available for the running system, the mode can be managed and booleans can be set.
enforcing:
selinux.mode
samba_create_home_dirs:
selinux.boolean:
- value: True
- persist: True
Set up an SELinux boolean
Verifies the mode SELinux is running in, can be set to enforcing or permissive