Add arm64 support to mirror setup
Load the variables from an architecture specific file first -- ansible's ansible_architecture fact for arm64 is aarch64 (it's all confusing, Ubuntu calls it arm64). Add this file that sets up the repo as "ubuntu-ports", which is our mirror of ports.ubuntu.com Change-Id: Ieb50ae29c7f822e831ef1e32fdd03f74a93e298a
This commit is contained in:
parent
c8b2ecf59a
commit
44bc52a539
@ -7,6 +7,7 @@
|
||||
- name: Include OS-specific variables
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "{{ ansible_distribution }}.{{ ansible_architecture }}.yaml"
|
||||
- "{{ ansible_distribution }}.yaml"
|
||||
- "{{ ansible_os_family }}.yaml"
|
||||
- "default.yaml"
|
||||
|
1
roles/configure-mirrors/vars/Ubuntu.aarch64.yaml
Normal file
1
roles/configure-mirrors/vars/Ubuntu.aarch64.yaml
Normal file
@ -0,0 +1 @@
|
||||
package_mirror: "http://{{ mirror_fqdn }}/{{ ansible_distribution | lower }}-ports"
|
Loading…
Reference in New Issue
Block a user