Role lxc_hosts for OpenStack-Ansible
Go to file
Kevin Carter f179f21a66 Clean-up old systemd prep and allow machinctl to grow
The machinectl cache is currently set image to 16G by default. If
multiple container images are imported into the cache this may be too
small by default. This change sets the cache to "64G" by default allowing
the cache more room to grow by.

This change also disables the quota system once the limit has been set
The option `lxc_host_machine_quota_disabled` has been added to disable or
enable the quota system as needed. This is done after the default limit has
been set so an adequately sized sparce file can be created should it not
already exist.

> More documentation can be seen here [0] with regard to the set-limit
  option.

Because we support both modern and older systemd, the cache prep tasks
for old systemd have been updated so that deployers using earlier
versions of systemd can benefit from the ability to grow an existing
cache via playbook run.

[0] https://www.freedesktop.org/software/systemd/man/machinectl.html#set-limit%20%5BNAME%5D%20BYTES

Closes-Bug: #1745361
Change-Id: I85fefc6ce186bb6808ac37a9ea79a50e29671115
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-12 15:30:14 +00:00
defaults Clean-up old systemd prep and allow machinctl to grow 2018-02-12 15:30:14 +00:00
doc Remove pip_install dependency 2017-12-05 11:54:12 +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 Clean-up old systemd prep and allow machinctl to grow 2018-02-12 15:30:14 +00:00
meta Remove pip_install dependency 2017-12-05 11:54:12 +00:00
releasenotes Clean-up old systemd prep and allow machinctl to grow 2018-02-12 15:30:14 +00:00
tasks Clean-up old systemd prep and allow machinctl to grow 2018-02-12 15:30:14 +00:00
templates Allow NetworkManager to work (if present) 2018-01-08 09:22:51 -06:00
tests tests: test.yml: Use the 'slurp' module to get the SSH key 2018-01-16 12:53:32 +00:00
vars Install SELinux packages asynchronously 2018-01-31 17:04:16 -06:00
zuul.d Allow the experimental trigger of the integrated repo 2017-12-06 08:21:12 +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 URLs in documents according to document migration 2017-07-14 09:35:14 +08:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-11-10 13:15:08 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:35:14 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:17 +00:00
test-requirements.txt Updated from global requirements 2018-01-24 01:16:07 +00:00
tox.ini Ensure that role tests pin pip/setuptools/wheel 2017-06-04 11:18:39 +01: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:

http://launchpad.net/openstack-ansible