1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/source_control/gitlab
patchback[bot] e568a760ac
Fix and rework gitlab_project_variable (#4038) (#4133)
* rework-and-fix

* fix delete bug and change report

* delete the requested variables based on env scope

* fix absent logic when not purge: remove what is requested

* change code to current behaviour

* complete implementation

* fix delete

* restore origin return structure

* reorder

* add test for origin bug

* add changelog fragment

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* remove yaml

* apply suggestions

* readd accidental removed line

* improve the truth of return value 'project_variable' in check mode

* fix pep8, over-indented

* fix typos and add subelement options

* Update changelogs/fragments/4038-fix-and-rework-gitlb-project-variable.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/4038-fix-and-rework-gitlb-project-variable.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* remove diff feature

* resolve all recommentdations

* resolve change requests, improve doc and remove default value before compare, because values always exists (prebuild)

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 33a65ae20f)

Co-authored-by: Markus Bergholz <git@osuv.de>
2022-01-31 20:58:05 +01:00
..
gitlab_branch.py Prepare for distutils.version being removed in Python 3.12 (#3936) (#3941) 2021-12-24 19:15:47 +01:00
gitlab_deploy_key.py Add additional auth support to Gitlab (#705) (#3918) (#3929) 2021-12-20 22:20:40 +01:00
gitlab_group.py Add additional auth support to Gitlab (#705) (#3918) (#3929) 2021-12-20 22:20:40 +01:00
gitlab_group_members.py Add additional auth support to Gitlab (#705) (#3918) (#3929) 2021-12-20 22:20:40 +01:00
gitlab_group_variable.py Add additional auth support to Gitlab (#705) (#3918) (#3929) 2021-12-20 22:20:40 +01:00
gitlab_hook.py Add additional auth support to Gitlab (#705) (#3918) (#3929) 2021-12-20 22:20:40 +01:00
gitlab_project.py Add additional auth support to Gitlab (#705) (#3918) (#3929) 2021-12-20 22:20:40 +01:00
gitlab_project_members.py Add additional auth support to Gitlab (#705) (#3918) (#3929) 2021-12-20 22:20:40 +01:00
gitlab_project_variable.py Fix and rework gitlab_project_variable (#4038) (#4133) 2022-01-31 20:58:05 +01:00
gitlab_protected_branch.py Prepare for distutils.version being removed in Python 3.12 (#3936) (#3941) 2021-12-24 19:15:47 +01:00
gitlab_runner.py gitlab: use gitlab instance runner to create runner (#3965) (#4123) 2022-01-31 06:20:30 +01:00
gitlab_user.py Add additional auth support to Gitlab (#705) (#3918) (#3929) 2021-12-20 22:20:40 +01:00