Ansible

Official documentation

Ansible is a tool created by RedHat to make it easier to manage infrastructure without clickops.

Though it was originally created for managing large datacenters, ansible works wonders in a homelab setting. You can make your entire infrastructure reproducible and idempotent by setting up an ansible project.