diff --git a/defaults/main.yml b/defaults/main.yml index d6102982..f49a75b7 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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') }}"