[users] Allow user to configure default group append behavior.#2642
Open
TwiggyWan wants to merge 1 commit into
debops:masterdebops/debops:masterfrom
TwiggyWan:users/make_append_configurableTwiggyWan/debops:users/make_append_configurableCopy head branch name to clipboard
Open
[users] Allow user to configure default group append behavior.#2642TwiggyWan wants to merge 1 commit intodebops:masterdebops/debops:masterfrom TwiggyWan:users/make_append_configurableTwiggyWan/debops:users/make_append_configurableCopy head branch name to clipboard
TwiggyWan wants to merge 1 commit into
debops:masterdebops/debops:masterfrom
TwiggyWan:users/make_append_configurableTwiggyWan/debops:users/make_append_configurableCopy head branch name to clipboard
Conversation
Author
|
please advice on variable name. |
TwiggyWan
force-pushed
the
users/make_append_configurable
branch
from
February 5, 2026 09:15
23ef1ff to
25dedab
Compare
TwiggyWan
force-pushed
the
users/make_append_configurable
branch
from
April 2, 2026 10:47
25dedab to
d3fd7fa
Compare
Because users configuration can span many group_vars/ and hosts_vars/, current role forces one to set 'append' for each user if one wants to always set 'append' to 'false'. This is not practical with users configuration spread in many group_vars/ and hosts_vars/. The solution is to give the user the ability to set a default value through a global default variable. It is set to 'True' by default, therefore will not alter existing inventories. See debops#2641
TwiggyWan
force-pushed
the
users/make_append_configurable
branch
from
April 30, 2026 15:19
d3fd7fa to
e46a09f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because users configuration can span many group_vars/ and hosts_vars/, current role forces one to set 'append' for each user if one wants to always set 'append' to 'false'.
This is not practical with users configuration spread in many group_vars/ and hosts/vars/.
The solution is to give the user the ability to set a default value through a global default variable.
It is set to 'True' by default, therefore will not alter existing inventories.
See #2641