Selinux task failed

I don’t understand why my task has shown failed status where I installed all required packages about selinux and

sudo yum install policycoreutils policycoreutils-python selinux-policy selinux-policy-targeted libselinux-utils setroubleshoot-server setools setools-console mcstrans

also disabled it the following directory

/etc/sysconfig/selinux

and i also checked the getenforce command

E AssertionError: required packages are not installed on app02 server

Hi!

Could you confirm if you had the package selinux-policy installed on stapp02?