From 6b1df92895e04ee0bb0723d9aa643d4deef96443 Mon Sep 17 00:00:00 2001 From: Devan Carpenter Date: Mon, 22 Mar 2021 12:52:59 +0000 Subject: [PATCH] use ansible's preferred arch naming scheme ansible looks for "x86_64" instead of "amd64" --- roles/gitlab-runner/tasks/docker.yml | 2 +- roles/gitlab-runner/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/gitlab-runner/tasks/docker.yml b/roles/gitlab-runner/tasks/docker.yml index 1613de3..49c3cc8 100644 --- a/roles/gitlab-runner/tasks/docker.yml +++ b/roles/gitlab-runner/tasks/docker.yml @@ -20,7 +20,7 @@ codename: "{{ ansible_distribution_release }}" repo: "deb [arch=amd64] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable" update_cache: yes - when: ansible_architecture == "amd64" + when: ansible_architecture == "x86_64" - name: Install Docker CE apt: diff --git a/roles/gitlab-runner/tasks/main.yml b/roles/gitlab-runner/tasks/main.yml index ca60303..ccbeed5 100644 --- a/roles/gitlab-runner/tasks/main.yml +++ b/roles/gitlab-runner/tasks/main.yml @@ -24,7 +24,7 @@ codename: "{{ ansible_distribution_release }}" repo: "deb [arch=amd64] https://packages.gitlab.com/runner/gitlab-runner/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} main" update_cache: yes - when: ansible_architecture == "amd64" + when: ansible_architecture == "x86_64" - name: Install GitLab Runner apt: