-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improv: update variables and common role style (#9)
- Loading branch information
1 parent
4b6b71e
commit e7514e9
Showing
15 changed files
with
94 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
--- | ||
# Install GitLab Runner using the Gitlab repository (Debian and RedHat based distributions) | ||
# Install GitLab Runner from the GitLab repository (Debian and RedHat based distributions) | ||
gitlab_runner_package_version: '' | ||
gitlab_runner_repository_mirror_url: 'https://packages.gitlab.com/runner/gitlab-runner' | ||
gitlab_runner_repository_gpgkey_url: '{{ gitlab_runner_repository_mirror_url }}/gpgkey' | ||
|
||
# Install GitLab Runner using a binary file (Windows) | ||
# Install GitLab Runner using the binary file (Windows) | ||
## See available releases: https://gitlab.com/gitlab-org/gitlab-runner/-/releases | ||
gitlab_runner_binary_version: '16.11.1' | ||
gitlab_runner_binary_name: 'gitlab-runner-{{ _gitlab_runner_os }}-{{ _gitlab_runner_architecture }}' | ||
gitlab_runner_binary_download_url: 'https://gitlab-runner-downloads.s3.amazonaws.com/v{{ gitlab_runner_binary_version }}/binaries' | ||
gitlab_runner_binary_install_path: '{{ _gitlab_runner_binary_install_path }}' | ||
gitlab_runner_download_url: 'https://gitlab-runner-downloads.s3.amazonaws.com/v{{ gitlab_runner_binary_version }}/binaries' | ||
gitlab_runner_download_path: '/tmp' | ||
gitlab_runner_install_path: '{{ _gitlab_runner_install_path }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,39 @@ | ||
--- | ||
galaxy_info: | ||
author: antmelekhin | ||
role_name: gitlab_runner | ||
description: An Ansible role to install GitLab Runner. | ||
author: 'antmelekhin' | ||
role_name: 'gitlab_runner' | ||
description: 'An Ansible role to install GitLab Runner.' | ||
|
||
license: MIT | ||
license: 'MIT' | ||
|
||
min_ansible_version: '2.12' | ||
|
||
platforms: | ||
- name: Debian | ||
- name: 'Debian' | ||
versions: | ||
- 'buster' | ||
- 'bullseye' | ||
- 'bookworm' | ||
- name: EL | ||
- name: 'EL' | ||
versions: | ||
- '7' | ||
- '8' | ||
- '9' | ||
- name: Ubuntu | ||
- name: 'Ubuntu' | ||
versions: | ||
- 'bionic' | ||
- 'focal' | ||
- 'jammy' | ||
- name: Windows | ||
- name: 'Windows' | ||
versions: | ||
- '2016' | ||
- '2019' | ||
- 'all' | ||
|
||
galaxy_tags: | ||
- gitlab | ||
- runner | ||
- git | ||
- ci | ||
- linux | ||
- windows | ||
- 'ci' | ||
- 'git' | ||
- 'gitlab' | ||
- 'linux' | ||
- 'runner' | ||
- 'windows' | ||
|
||
dependencies: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
role_name_check: 2 | ||
dependency: | ||
name: galaxy | ||
name: 'galaxy' | ||
enabled: true | ||
driver: | ||
name: docker | ||
name: 'docker' | ||
platforms: | ||
- name: 'gitlab_runner-${IMAGE:-docker-systemd}-${TAG:-ubuntu-22.04}${TOX_ENVNAME}' | ||
image: '${NAMESPACE:-antmelekhin}/${IMAGE:-docker-systemd}:${TAG:-ubuntu-22.04}' | ||
volumes: | ||
- /sys/fs/cgroup:/sys/fs/cgroup:rw | ||
- /var/lib/containerd | ||
cgroupns_mode: host | ||
- '/sys/fs/cgroup:/sys/fs/cgroup:rw' | ||
- '/var/lib/containerd' | ||
cgroupns_mode: 'host' | ||
privileged: true | ||
pre_build_image: true | ||
provisioner: | ||
name: ansible | ||
name: 'ansible' | ||
verifier: | ||
name: ansible | ||
name: 'ansible' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,26 @@ | ||
--- | ||
role_name_check: 2 | ||
dependency: | ||
name: galaxy | ||
name: 'galaxy' | ||
enabled: true | ||
driver: | ||
name: vagrant | ||
name: 'vagrant' | ||
platforms: | ||
- name: instance | ||
- name: 'instance' | ||
box: 'jborean93/WindowsServer2019' | ||
interfaces: | ||
- network_name: private_network | ||
ip: 192.168.56.4 | ||
provisioner: | ||
name: ansible | ||
name: 'ansible' | ||
inventory: | ||
host_vars: | ||
instance: | ||
ansible_host: 192.168.56.4 | ||
ansible_port: 5986 | ||
ansible_user: vagrant | ||
ansible_password: vagrant | ||
ansible_connection: winrm | ||
ansible_winrm_scheme: https | ||
ansible_winrm_transport: ntlm | ||
ansible_winrm_server_cert_validation: ignore | ||
ansible_host: 127.0.0.1 | ||
ansible_port: 55986 | ||
ansible_user: 'vagrant' | ||
ansible_password: 'vagrant' | ||
ansible_connection: 'winrm' | ||
ansible_winrm_scheme: 'https' | ||
ansible_winrm_transport: 'ntlm' | ||
ansible_winrm_server_cert_validation: 'ignore' | ||
ansible_become: false | ||
verifier: | ||
name: ansible | ||
name: 'ansible' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.