community.general.gitlab_protected_branch – (un)Marking existing branches for protection
This plugin is part of the community.general collection (version 4.2.0).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.general.
To use it in a playbook, specify:
New in version 3.4.0: of community.general
The below requirements are needed on the host that executes this module.
python >= 2.7
python-gitlab >= 2.3.0
requests (Python library https://pypi.org/project/requests/)