openstack-ansible/playbooks/roles/lxc_hosts
Major Hayden 05ae112e20 Update cached LXC image in place
The LXC container creation playbook is one of the longest-running playbooks
in the repository.  It generally takes 15-17 minutes to run during the gate
jobs.  Much of this time is spent updating each container with the latest
packages.

This patch causes the LXC cached image to be updated one time before that
image is used for all of the containers.  It reduces the amount of times the
updates actually run and this shortens the time it takes to complete the
playbook.

The updates to the cached image will only occur if a new cache image has
just been downloaded.

Partial-bug: 1489169

Change-Id: Iba64f9a3aeb999907088f2a99e8904700074550b
2015-09-21 17:10:52 +00:00
..
defaults Update cached LXC image in place 2015-09-21 17:10:52 +00:00
handlers Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
meta added role to pin packages 2015-05-08 13:22:42 -05:00
tasks Update cached LXC image in place 2015-09-21 17:10:52 +00:00
templates Update cached LXC image in place 2015-09-21 17:10:52 +00:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00

README.rst

OpenStack LXC host setup

tags

openstack, lxc, host, cloud, ansible

category

*nix

Role for deployment and setup of an LXC host.

- name: Basic lxc host setup
  hosts: "hosts"
  user: root
  roles:
    - { role: "lxc_hosts", tags: [ "lxc-host", "host-setup" ] }