f21bb596ab
re: http://lists.openstack.org/pipermail/openstack-dev/2016-February/086000.html Ubuntu has 4 different 'components' - main, universe, multiverse and restricted: - Main: Officially supported software. - Restricted: Supported software that is not available under a completely free license. - Universe: Community maintained software, i.e. not officially supported software. - Multiverse: Software that is not free. Practically speaking there should be nothing particularly useful to OpenStack-Ansible in Restricted or Multiverse - it's mostly software for desktop users. This patch introduces a new variable 'lxc_container_template_apt_components' which is a list of the components to configure in the apt sources list. The default list does not include the unnecessary components. Change-Id: I0eef6454d273f5ba1977a68151fbf6103ff3ed8d
6 lines
579 B
Django/Jinja
6 lines
579 B
Django/Jinja
# {{ ansible_managed }}
|
|
deb {{ lxc_container_template_main_apt_repo }} {{ lxc_container_release }} {{ lxc_container_template_apt_components | join(" ") }}
|
|
deb {{ lxc_container_template_main_apt_repo }} {{ lxc_container_release }}-updates {{ lxc_container_template_apt_components | join(" ") }}
|
|
deb {{ lxc_container_template_main_apt_repo }} {{ lxc_container_release }}-backports {{ lxc_container_template_apt_components | join(" ") }}
|
|
deb {{ lxc_container_template_security_apt_repo }} {{ lxc_container_release }}-security {{ lxc_container_template_apt_components | join(" ") }}
|