By default, the Caddyfile defaults to 1 month for the leaf certificates and 1 year for the intermediate certificate.
Pre-generated certificates can be found in `files/certs`, but you can also generate your own ones by using this role while the directory is empty, and then copy-pasting them from the VM to this directory. This is for mostly convenience, as multiple VM's might use this role so you only need to import theroot.crt to your browser once.
In your playbook, define the role and config paths. Most likely the defaults are fine, so you can just simply add the role. Remember to add this before any certbot role. The ACME server is hosted at port 8443. You can also change the `templates/Caddyfile.j2` to fit your own needs.