From 0589656e604c0e222b55f2db11e100332ccebac3 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 1 Jul 2022 10:31:42 +0200 Subject: [PATCH] Fixed superuser permissions requirement --- ansible/swappiness.configure.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/swappiness.configure.yml b/ansible/swappiness.configure.yml index 1966b73..ab4ef1d 100644 --- a/ansible/swappiness.configure.yml +++ b/ansible/swappiness.configure.yml @@ -17,6 +17,7 @@ tags: linux block: - name: Configure swappiness + become: true sysctl: name: vm.swappiness value: "{{ swappiness_value|string }}"