I demonstrate my newest playbook that configures all necessary steps(install webserver, configure webserver, create rsync cronjob, configure firewall, configure selinux) to run a local Rocky Linux repository.
Blog post here: http://gregsowell.com/?p=7612