From 641809860297f9f3dd9646f77cc269d6375f0152 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 13 Jun 2021 09:08:39 +0200 Subject: [PATCH] Documentation fix for access_level parameter of gitlab_runner (#2788) (#2791) * * Documentation fix for access_level parameter of gitlab_runner Signed-off-by: Alina Buzachis * Address reviewer's comments Signed-off-by: Alina Buzachis (cherry picked from commit 343339655ded19ec35c113643f1d777ceadf84f7) Co-authored-by: Alina Buzachis --- plugins/modules/source_control/gitlab/gitlab_runner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/modules/source_control/gitlab/gitlab_runner.py b/plugins/modules/source_control/gitlab/gitlab_runner.py index 8803990f22..d38b4819a6 100644 --- a/plugins/modules/source_control/gitlab/gitlab_runner.py +++ b/plugins/modules/source_control/gitlab/gitlab_runner.py @@ -77,7 +77,9 @@ options: type: bool access_level: description: - - Determines if a runner can pick up jobs from protected branches. + - Determines if a runner can pick up jobs only from protected branches. + - If set to C(ref_protected), runner can pick up jobs only from protected branches. + - If set to C(not_protected), runner can pick up jobs from both protected and unprotected branches. required: False default: ref_protected choices: ["ref_protected", "not_protected"]