Tag SELinux tasks and cleanup platform/hypervisor/distro detection logic
Adds a tag to SELinux tasks so that they may be run selectively. Changes up the way platform/hypervisor/distro detection logic to be more DRY and to work more consistently with newer CentOS7 images on new t3 aws instances.
Motivation and Context
Closes #30
Closes #31
How Has This Been Tested?
I've used this fork to deploy the latest CentOS7 images to AWS t3 instances and to a local docker-based CICD environment. Have not tested on metal or VMware, and if you peek at the changes, you'll see I slightly changed up the detection logic to make it easier to read and DRY.
Tag SELinux tasks and cleanup platform/hypervisor/distro detection logic
Adds a tag to SELinux tasks so that they may be run selectively. Changes up the way platform/hypervisor/distro detection logic to be more DRY and to work more consistently with newer CentOS7 images on new t3 aws instances.
Motivation and Context
Closes #30 Closes #31
How Has This Been Tested?
I've used this fork to deploy the latest CentOS7 images to AWS t3 instances and to a local docker-based CICD environment. Have not tested on metal or VMware, and if you peek at the changes, you'll see I slightly changed up the detection logic to make it easier to read and DRY.