From 25bf01f63451ebd09b151d51cc4987a6be96cacf Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 12 Aug 2024 20:33:49 +0200 Subject: [PATCH] ansible 2.16: add note optional dependency --- README.md | 3 +++ meta/main.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 7997f9d..60b9939 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ See the [config for more options](https://github.com/riemers/ansible-gitlab-runn Example Playbook ---------------- + ```yaml - hosts: all become: true @@ -92,6 +93,7 @@ Example Playbook ``` Inside `vars/main.yml` + ```yaml gitlab_runner_coordinator_url: https://gitlab.com gitlab_runner_registration_token: '12341234' @@ -101,6 +103,7 @@ gitlab_runner_runners: token: 'abcd' # url is an optional override to the global gitlab_runner_coordinator_url url: 'https://my-own-gitlab.mydomain.com' + # each executor can have optional dependencies e.g: "docker" -> "community.docker" executor: docker docker_image: 'alpine' tags: diff --git a/meta/main.yml b/meta/main.yml index 6aafb96..236892a 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -27,3 +27,7 @@ galaxy_info: - ci dependencies: [] + # optional dependency: docker-executor + # - community.docker + # optional dependency: windows host + # - ansible.windows