Files
homelab/ansible
Hermes Agent service account 8953702608 fix(semaphore/configure): build POST bodies via Jinja dict literals
The 'uri' module with body_format=json was sending integer fields as
strings when they came from quoted Jinja expressions in inline YAML
(e.g. ssh_key_id: "{{ ... | int }}"), because YAML loads the quoted
form as a string and Ansible doesn't coerce back. Semaphore rejects
that with HTTP 400.

Build each body as a Jinja dict literal in a folded scalar so types
survive: integers stay integers, strings stay strings.

Also restores no_log: true on key creation now that we're past the
debug round.
2026-05-29 22:47:13 -05:00
..
2025-11-21 05:48:43 -08:00
2026-05-26 11:48:23 -05:00
2025-11-19 09:36:59 -08:00
2026-05-26 22:44:48 -05:00
2025-11-19 09:36:59 -08:00