[base] init; set swapiness to 10

This commit is contained in:
Simon Bruder 2019-05-28 18:58:57 +00:00
parent 3df3f0f172
commit 49b3fb4ea3
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
3 changed files with 13 additions and 0 deletions

View file

@ -4,6 +4,7 @@
become: yes
any_errors_fatal: yes
roles:
- role: base
- role: packages
tags:
- packages

View file

@ -0,0 +1,5 @@
---
- name: set swapiness
lineinfile:
path: /etc/sysctl.conf
line: vm.swappiness = 10

View file

@ -0,0 +1,7 @@
---
- block:
- import_tasks: kernel.yml
tags:
- base:kernel
tags:
- base