source: main/waeup-ansible/roles/core/handlers/main.yml

Last change on this file was 13995, checked in by uli, 8 years ago

Add roles to enable swap-accounting.

Swap accounting is at least used widely with docker
containers and managed by kernel cgroups. We might be
able, however to use it in regular production (w/o any
dockers).

To enable swap-accounting, respective settings must
be enabled in kernel during boot time. They are normally
disabled on Ubuntu.

We use the (as we think) proper mechanism to add
respective cmdline args in grub config.

Of course thses settings take effect only after reboot.

File size: 108 bytes
Line 
1---
2# handlers for core provisionings
3- name: "update grub"
4  command: /usr/sbin/update-grub
5  become: true
Note: See TracBrowser for help on using the repository browser.