Role lxc_hosts for OpenStack-Ansible
Go to file
Kevin Carter 7e98da3d0f Convert lxc_hosts role to use simple download URL
For a very long time we've been parsing and using the lxc images as
provided by upstream lxc. While these images are functional there are by
no means optimal. In general they're quite a bit larger than they need
to be and contian a lot of little sharp edges that have cut us over
the years. This change removes all of the lxc image cache parsing and
meta-data linking and simply downloads the rootfs a given url. To
maintain compatibility with the legacy images a script has been created
to parse the image index and return the legacy image url.

The result of this change:

* Access to smaller more optimal base image which is well known by the
  corresponding communities.

* Deployers now have the ability to set and forget the download url for an
  internal image instead of having to create a cache infrastructure
  compatible with the lxc download template.

* Any rootfs tarball will work as an image.

* Fewer tasks are executed and less memory is consumed resulting in faster
  deployment times.

* The base cache has a uniform meta-data setup giving all container
  types the same access to config, devices, and templating.

Change-Id: I1775e775bbb7fe86bdffdd8296c2cff5ebc5bac8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-21 23:52:53 +00:00
defaults Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
doc Updated from global requirements 2018-03-15 07:30:19 +00:00
examples [DOCS] Create separate example playbook file 2016-08-11 20:21:22 -05:00
files Create an LXC create template for machinectl 2017-10-05 00:01:40 -05:00
handlers Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
meta Update minimum Ansible version 2018-02-15 10:22:29 -06:00
releasenotes Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
tasks Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
templates Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
tests Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
vars Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
zuul.d zuul: Add missing CentOS and openSUSE jobs 2018-03-02 15:42:18 +00:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:19:02 +00:00
.gitreview New git dotfiles for independant repository 2015-11-25 20:56:11 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:34 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 15:16:58 -04:00
LICENSE IRR for lxc_host 2015-11-03 04:22:57 -06:00
manual-test.rc Use centralised test scripts 2016-09-27 16:47:07 +01:00
README.rst Update the outdated links 2018-02-26 16:04:48 +08:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-11-10 13:15:08 +00:00
setup.cfg Update URL home-page in documents according to document migration 2017-07-14 03:21:39 +00:00
setup.py Updated from global requirements 2017-03-02 11:51:17 +00:00
test-requirements.txt Updated from global requirements 2018-03-13 07:11:49 +00:00
tox.ini tox.ini: Expose USER environment variable to execution environment 2018-03-15 17:56:30 +00:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-01-22 16:53:49 +00:00

Team and repository tags

image

OpenStack-Ansible LXC hosts

Ansible role that configures a host for running LXC containers.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-lxc_hosts/latest

The project home is at:

https://launchpad.net/openstack-ansible