use ansible's preferred arch naming scheme

ansible looks for "x86_64" instead of "amd64"
master
Devan Carpenter 2 years ago
parent 38541ca3ee
commit 6b1df92895
Signed by: dvn
GPG Key ID: E1707CFFD7B85A02

@ -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:

@ -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:

Loading…
Cancel
Save