Update the version of LXC installed to the latest stable

This change updates the installation of LXC on Ubuntu 14.04 to be the
latest stable release. The change will, at the time of this commit,
use LXC version 2.0.x as the base version. By updating we'll be able
to take advantage of the various performance and stability enhancements
that have been created since the release of 2.x. This also brings our
Ubuntu 14.04 installations in line with Ubuntu 16.04 and CentOS7 such
that we're using a single supported release.

Change-Id: I29220bee11401cc424ef54160cc873b8fc395dd1
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-06-28 23:35:43 -05:00
parent 9606ff116a
commit 5606ea555b
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F
3 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
upgrade:
- Hosts running LXC on Ubuntu 14.04 will now need to enable
the "trusty-backports" repository. The backports repo on
Ubuntu 14.04 is now required to ensure LXC is updated to
the latest stable version.

View File

@ -33,7 +33,8 @@
- name: Install apt packages
apt:
pkg: "{{ item }}"
state: present
state: latest
default_release: "{{ lxc_default_release | default(omit) }}"
register: install_packages
until: install_packages|success
retries: 5

View File

@ -122,3 +122,5 @@ lxc_cache_packages:
lxc_cached_network_interfaces:
- src: "lxc-net-bridge.cfg.j2"
dest: "/etc/network/interfaces.d/lxc-net-bridge.cfg"
lxc_default_release: "trusty-backports"