Skip to content

Conversation

@href
Copy link

@href href commented Jan 2, 2025

No description provided.

href added 3 commits December 30, 2024 14:35
When a password is defined for a role, the lookup of the password should
be completely avoided. The previous default construct was evaluated in
a way that would still access the password lookup, and potentially
generate the password, even if one was explicitly provided.

The result was correct, but since the password lookup can have
side effects, even in check-mode (it creates files), it should not
be run if it is not needed.
Avoids a password lookup, when it is not necessary:

- When an account specifices a password, no lookup should be made.
- When an account is to be removed, no lookup should be made.

This makes it possible to override the password without accidentally
calling the default password lookup.
@href href requested a review from gaudenz January 2, 2025 15:26
@href href self-assigned this Jan 2, 2025
Copy link

@gaudenz gaudenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@href href merged commit df83677 into cloudscale/stable-3.1 Jan 28, 2025
10 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants