From 09940ba1674f1d1ebcffc2fc9ba868f64e1e66a1 Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Wed, 2 Oct 2024 14:46:34 +0300 Subject: [PATCH] Set limits for nox_user --- roles/nox/tasks/01-install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nox/tasks/01-install.yml b/roles/nox/tasks/01-install.yml index ad1eae7..df772e6 100644 --- a/roles/nox/tasks/01-install.yml +++ b/roles/nox/tasks/01-install.yml @@ -38,12 +38,12 @@ loop_var: "limit" label: "{{ limit.domain }} {{ limit.limit_item }}:{{ limit.limit_type }}" loop: - - domain: "nox" + - domain: "{{ nox_user }}" limit_type: "hard" limit_item: "nofile" comment: "Increse max open file hard limit" value: 65536 - - domain: "nox" + - domain: "{{ nox_user }}" limit_type: "soft" limit_item: "nofile" comment: "Increse max open file soft limit"