From b2bb99b4bb0fd9b6bcbd3a0056313af561abdcd7 Mon Sep 17 00:00:00 2001 From: William Petit Date: Tue, 16 Aug 2022 15:41:08 +0200 Subject: [PATCH] Configuration des variables sysctl pour podman --- tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index faf7ad2..86819a2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -28,6 +28,17 @@ state: present become: true +- name: Ensure sysctl configuration + ansible.posix.sysctl: + name: "{{ item.name }}" + value: "{{ item.value }}" + sysctl_set: yes + with_items: + - name: fs.inotify.max_user_instances + value: 128 + - name: fs.inotify.max_user_watches + value: 204800 + - name: Install core packages ansible.builtin.apt: name: