source: main/waeup-ansible/roles/core/tasks/main.yml @ 15284

Last change on this file since 15284 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: 121 bytes
Line 
1---
2- include: grub.yml
3
4- name: "create 'deploy' user"
5  user:
6    name="{{ deploy_user }}"
7    append=yes
8    uid=2222
Note: See TracBrowser for help on using the repository browser.