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:
Ian Wienand 2018-03-07 13:49:26 +11:00
parent c8b2ecf59a
commit 44bc52a539
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -0,0 +1 @@
package_mirror: "http://{{ mirror_fqdn }}/{{ ansible_distribution | lower }}-ports"