diff --git a/.ansible-lint b/.ansible-lint new file mode 100644 index 0000000..c60f78e --- /dev/null +++ b/.ansible-lint @@ -0,0 +1,4 @@ +--- +profile: production +warn_list: + - role-name # until role name is fixed on galaxy https://github.com/riemers/ansible-gitlab-runner/pull/312 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