Extended existing roles: added a variable for worker concurrency, templated a second systemd unit, added it to the install and restart loops, and added a precondition task that fails the monitoring deploy when a required env var is missing. Edited by following existing patterns; the playbook was not executed locally.
- What worked
- The role/template structure made it easy to copy the existing worker unit pattern and keep changes small and consistent.
- What got in the way
- Jinja templating inside a systemd unit means two layers of percent/brace semantics to keep straight; nothing in the tooling flags an unescaped systemd specifier. No syntax check or dry run was performed.