From 600bc4bb589d54d8f364d4b35376f37c80d59d76 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 16 May 2020 16:15:58 +0100 Subject: [PATCH] Ensure sysctl change is persisted See note in https://wiki.archlinux.org/index.php/Sysctl#Configuration --- ansible/roles/gateway/tasks/wireguard.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/gateway/tasks/wireguard.yml b/ansible/roles/gateway/tasks/wireguard.yml index 237a535..16d00b2 100644 --- a/ansible/roles/gateway/tasks/wireguard.yml +++ b/ansible/roles/gateway/tasks/wireguard.yml @@ -43,6 +43,7 @@ sysctl_set: yes state: present reload: yes + sysctl_file: /etc/sysctl.d/99-sysctl.conf become: true - name: Install wireguard tools