Use correct apt repo when ubuntu architecture is not x86_64
All other architectures are at ports.ubuntu.com. Change-Id: I0f2d433bc11bd28541b48bf6b6644d83d4d19c4d
This commit is contained in:
parent
9385ec8011
commit
ef721dbf13
@ -238,4 +238,5 @@ lxc_centos_epel_key: "{{ centos_epel_key | default('http://download.fedoraprojec
|
||||
lxc_centos_package_baseurl: "{{ _lxc_centos_package_baseurl }}"
|
||||
lxc_centos_package_key: "{{ _lxc_centos_package_key }}"
|
||||
|
||||
lxc_apt_mirror: "{{ (ansible_facts['distribution'] == 'Ubuntu') | ternary('http://archive.ubuntu.com/ubuntu', 'http://deb.debian.org/debian') }}"
|
||||
lxc_ubuntu_mirror: "{{ (ansible_facts['architecture'] == 'x86_64') | ternary('http://archive.ubuntu.com/ubuntu', 'http://ports.ubuntu.com/ubuntu-ports') }}"
|
||||
lxc_apt_mirror: "{{ (ansible_facts['distribution'] == 'Ubuntu') | ternary(lxc_ubuntu_mirror, 'http://deb.debian.org/debian') }}"
|
||||
|
Loading…
Reference in New Issue
Block a user