[base] init; set swapiness to 10

master
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