chore(ansible): error when passwordstore subkey is not found #401

Merged
saibotk merged 1 commit from error-on-missing-subkeys into main 2025-10-04 15:57:07 +02:00
Owner

The default for missing subkeys (when multiple values are stored in a single secret) is empty.

Usually, this can lead to configuration issues because one does not necissarily notice a new added required subkey.
A more sensitive default here is to error, in the same way as the system already errors for missing secrets in general.

Note: This can still be configured differently where necessary.

See https://docs.ansible.com/ansible/latest/collections/community/general/passwordstore_lookup.html#parameter-missing_subkey

The default for missing subkeys (when multiple values are stored in a single secret) is `empty`. Usually, this can lead to configuration issues because one does not necissarily notice a new added required subkey. A more sensitive default here is to error, in the same way as the system already errors for missing secrets in general. Note: This can still be configured differently where necessary. See https://docs.ansible.com/ansible/latest/collections/community/general/passwordstore_lookup.html#parameter-missing_subkey
saibotk self-assigned this 2025-10-03 23:58:16 +02:00
chore(ansible): error when passwordstore subkey is not found
All checks were successful
ci/woodpecker/pr/ansible-lint Pipeline was successful
30e5952046
The default for missing subkeys (when multiple values are stored in a single secret) is `empty`.

Usually, this can lead to configuration issues because one does not necissarily notice a new added required subkey.
A more sensitive default here is to error, in the same way as the system already errors for missing secrets in general.

Note: This can still be configured differently where necessary.

See https://docs.ansible.com/ansible/latest/collections/community/general/passwordstore_lookup.html#parameter-missing_subkey
saibotk force-pushed error-on-missing-subkeys from 30e5952046 to 56e0103177 2025-10-04 00:07:56 +02:00 Compare
requested review from histalek 2025-10-04 00:08:38 +02:00
histalek approved these changes 2025-10-04 09:07:48 +02:00
saibotk force-pushed error-on-missing-subkeys from 56e0103177 to 21a4fa1b4e 2025-10-04 15:56:39 +02:00 Compare
saibotk deleted branch error-on-missing-subkeys 2025-10-04 15:57:08 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: SipsOfCode/infrastructure#401
No description provided.