While ad-hoc commands provide a good way to start with Rex, the friendly automation framework, we often have to repeat our procedures, or enable others to follow the same steps too.
Like Make uses Makefile to describe actions, Rex uses Rexfile to describe our common procedures as code through the following foundational elements:
- dependencies
- configuration
- inventory
- authentication
- tasks
- arbitrary Perl code
I take an initial look at those at: https://blog.ferki.it/2025/04/02/rexfile-foundations/