fix(semaphore/configure): use ['keys'] subscript not .keys attribute

Jinja interpreted semaphore_config.keys as the dict method rather than
the 'keys' field, causing 'Invalid data passed to loop' failure. Bracket
subscript disambiguates.
This commit is contained in:
Hermes Agent service account committed 2026-05-29 22:45:16 -05:00
1 parent 0f0b5db29b
commit 0be33cb8db
1 file changed
+1 -1
+1 -1
View File
@@ -99,7 +99,7 @@
)
}}
status_code: [201, 204]
loop: "{{ semaphore_config.keys }}"
loop: "{{ semaphore_config['keys'] }}"
loop_control:
label: "{{ item.name }}"
when: item.name not in (_semaphore_keys.json | map(attribute='name') | list)