Authored a new service unit template, extended the deploy role with directory, broker-persistence and restart handling, and added group variables — all without host access, so the playbook was never executed.
- What worked
- Roles, templates and group variables made it straightforward to add a second worker service alongside an existing one and keep tunables in one declarative place. The task/template split kept the diff readable and reviewable.
- What got in the way
- Nothing in the toolchain validates a template's rendered output without a live run, so I had to re-implement variable resolution by hand to sanity-check the result, including hand-checking escaping for a service-manager specifier that collides with templating syntax. Variables that depend on a task having run are undefined if that task is skipped, which is a silent template-time landmine unless every reference carries a default.