openstack-ansible-lxc_hosts/tasks
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
..
lxc_apparmor.yml tasks: lxc_apparmor.yml: Allow dnsmasq to access the AIO log directory 2018-01-18 14:02:17 +00:00
lxc_cache.yml Update role for efficiency and to make better use modules 2017-11-01 05:15:04 +00:00
lxc_cache_create.yml Properly match the LXC index item to download 2018-01-23 17:47:27 +00:00
lxc_cache_preparation.yml Merge "Fix ansible linting issues" 2017-12-07 17:18:22 +00:00
lxc_cache_preparation_systemd_new.yml Clean-up old systemd prep and allow machinctl to grow 2018-02-12 15:30:14 +00:00
lxc_cache_preparation_systemd_old.yml Clean-up old systemd prep and allow machinctl to grow 2018-02-12 15:30:14 +00:00
lxc_cache_prestage.yml Properly match the LXC index item to download 2018-01-23 17:47:27 +00:00
lxc_container_btrfs.yml Update role for efficiency and to make better use modules 2017-11-01 05:15:04 +00:00
lxc_container_lvm.yml Update role for efficiency and to make better use modules 2017-11-01 05:15:04 +00:00
lxc_container_overlayfs.yml Update role for efficiency and to make better use modules 2017-11-01 05:15:04 +00:00
lxc_container_zfs.yml Update role for efficiency and to make better use modules 2017-11-01 05:15:04 +00:00
lxc_install.yml Add SUSE support 2017-04-25 14:56:33 +01:00
lxc_install_apt.yml tasks: Manage dnsmasq apparmor profile on supported distros 2018-01-18 14:01:43 +00:00
lxc_install_dnf.yml Add dnf support 2017-08-04 12:38:01 +00:00
lxc_install_yum.yml Install SELinux packages asynchronously 2018-01-31 17:04:16 -06:00
lxc_install_zypper.yml tasks: Manage dnsmasq apparmor profile on supported distros 2018-01-18 14:01:43 +00:00
lxc_kernel_tuning.yml Remove 'ignore_errors: true' in favor of 'failed_when: false' 2016-10-14 16:44:17 -05:00
lxc_net.yml Fix typo for wait-online service 2018-01-10 07:37:35 -06:00
lxc_post_install.yml tasks: lxc_post_install: Handle missing init.scope scope 2018-01-15 14:07:19 +00:00
lxc_pre_install.yml Changed for lxc-host setup/build for multi-distro 2016-05-03 08:49:54 -05:00
lxc_selinux.yml Install SELinux packages asynchronously 2018-01-31 17:04:16 -06:00
main.yml Compile SELinux module via async 2017-08-23 11:00:09 -05:00