gitlab: add support for multiple architectures

amd64 was hardcoded into the gitlab repo string. now it will try to use
the host's reported architecture.
master
Devan Carpenter 2 years ago
parent 900945dec1
commit 4046de9f56
Signed by: dvn
GPG Key ID: E1707CFFD7B85A02

@ -15,7 +15,7 @@
- name: Add GitLab apt repo to souces.list
apt_repository:
codename: "{{ ansible_distribution_release }}"
repo: "deb https://packages.gitlab.com/runner/gitlab-runner/debian/ {{ ansible_distribution_release }} main"
repo: "deb [arch={% if ansible_architecture == aarch64 %}arm64 {% endif %}] https://packages.gitlab.com/runner/gitlab-runner/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} main"
update_cache: yes
- name: Install GitLab Runner

Loading…
Cancel
Save