-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitlab_*_variables deletes all variables in purge mode #7250
Comments
MaxBidlingmaier
added a commit
to MaxBidlingmaier/community.general
that referenced
this issue
Sep 12, 2023
Files identified in the description: If these files are incorrect, please update the |
MaxBidlingmaier
added a commit
to MaxBidlingmaier/community.general
that referenced
this issue
Sep 13, 2023
example 7.3 registered output (no changes):
example of 7.4 registered output (always changed):
|
felixfontein
added a commit
that referenced
this issue
Sep 20, 2023
* Fixed gitlab_*_variable when using purge, see issue #7250 * Update changelogs/fragments/7251-gitlab-variables-deleteing-all-variables.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
felixfontein
pushed a commit
that referenced
this issue
Sep 20, 2023
…sing purge (#7294) Fixed gitlab_*_variable when using purge (#7251) * Fixed gitlab_*_variable when using purge, see issue #7250 * Update changelogs/fragments/7251-gitlab-variables-deleteing-all-variables.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit fc2e6c4) Co-authored-by: MaxBidlingmaier <103562872+MaxBidlingmaier@users.noreply.github.com>
etrombly
pushed a commit
to etrombly/community.general
that referenced
this issue
Oct 25, 2023
* Fixed gitlab_*_variable when using purge, see issue ansible-collections#7250 * Update changelogs/fragments/7251-gitlab-variables-deleteing-all-variables.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When using community.general 7.4 to provision gitlab with an exact list of variables (purge:true) all variables get deleted. This took our GitLab env with more then 1000 repos fully offline ;-)
This is due to the change done to the modules without adding the new 'raw' parameter to the list of known parameters in the module_utils/gitlab
Issue Type
Bug Report
Component Name
gitlab_group_variable
gitlab_project_variable
Ansible Version
does not matter
Community.general Version
7.4
Configuration
No response
OS / Environment
any
Steps to Reproduce
Expected Results
The group varibale Test is set, and no other variable
Actual Results
no variables are set at all
Code of Conduct
The text was updated successfully, but these errors were encountered: