Skip to content
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

[PR #5986/617be6e1 backport][stable-6] Add new project features to API #6099

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Feb 26, 2023

This is a backport of PR #5986 as merged into main (617be6e).

SUMMARY

Fixes #5985

Added support for releases_access_level, environments_access_level, feature_flags_access_level, infrastructure_access_level, monitor_access_level and security_and_compliance_access_level options(these are defined here in gitlab's documentation)

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

gitlab_project

ADDITIONAL INFORMATION

Example of project creation using new fields:

- name: Setup gitlab project
  community.general.gitlab_project:
    api_url: https://gitlab.example.com/
    validate_certs: true
    api_username: dj-wasabi
    api_password: "MySecretPassword"
    name: my_project
    group: ansible
    releases_access_level: enabled
    environments_access_level: disabled
    feature_flags_access_level: disabled
    infrastructure_access_level: disabled
    monitor_access_level: disabled
    security_and_compliance_access_level: disabled
    state: present
  delegate_to: localhost

* Add new project features to API

* add changelog fragment

* remove extra line from changelog

* Update changelog formatting

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 617be6e)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport feature This issue/PR relates to a feature request gitlab module module new_contributor Help guide this first time contributor plugins plugin (any type) source_control labels Feb 26, 2023
@felixfontein felixfontein merged commit 89dd500 into stable-6 Feb 26, 2023
@felixfontein felixfontein deleted the patchback/backports/stable-6/617be6e124caeb97d27352b199a816bb72afea67/pr-5986 branch February 26, 2023 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request gitlab module module new_contributor Help guide this first time contributor plugins plugin (any type) source_control
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants