Skip to content

Commit

Permalink
ansible 2.16: add note optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Stunkymonkey committed Aug 12, 2024
1 parent 6227dbe commit 25bf01f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ See the [config for more options](https://github.com/riemers/ansible-gitlab-runn

Example Playbook
----------------

```yaml
- hosts: all
become: true
Expand All @@ -92,6 +93,7 @@ Example Playbook
```

Inside `vars/main.yml`

```yaml
gitlab_runner_coordinator_url: https://gitlab.com
gitlab_runner_registration_token: '12341234'
Expand All @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ galaxy_info:
- ci

dependencies: []
# optional dependency: docker-executor
# - community.docker
# optional dependency: windows host
# - ansible.windows

0 comments on commit 25bf01f

Please sign in to comment.