commit 6be65f40569044307bbf41038b766ff571a08025 Author: Bernd Finger Date: Mon Jun 22 15:01:22 2020 +0200 "@" needs to be prepended to sap_preconfigure_db_group_name diff --git a/tasks/sapnote/2002167/05-process-resource-limits.yml b/tasks/sapnote/2002167/05-process-resource-limits.yml index 4e0b4a2..a116cbf 100644 --- a/tasks/sapnote/2002167/05-process-resource-limits.yml +++ b/tasks/sapnote/2002167/05-process-resource-limits.yml @@ -21,7 +21,7 @@ - name: Set the hard and soft limit for the max number of open files per process (nofile) to 32800 for the database group pam_limits: dest: /etc/security/limits.d/99-sap.conf - domain: "{{ sap_preconfigure_db_group_name }} " + domain: "@{{ sap_preconfigure_db_group_name }}" limit_item: nofile limit_type: "{{ line_item }}" value: "32800" @@ -44,7 +44,7 @@ - name: Set the soft limit for the max number of processes per user (nproc) to unlimited for the database group pam_limits: dest: /etc/security/limits.d/99-sap.conf - domain: "{{ sap_preconfigure_db_group_name }} " + domain: "@{{ sap_preconfigure_db_group_name }}" limit_item: nproc limit_type: soft value: unlimited diff --git a/tasks/sapnote/2772999/09-configure-process-resource-limits.yml b/tasks/sapnote/2772999/09-configure-process-resource-limits.yml index e7d51f6..7247f77 100644 --- a/tasks/sapnote/2772999/09-configure-process-resource-limits.yml +++ b/tasks/sapnote/2772999/09-configure-process-resource-limits.yml @@ -21,7 +21,7 @@ - name: Set the hard and soft limit for the max number of open files per process (nofile) to 65536 for the database group pam_limits: dest: /etc/security/limits.d/99-sap.conf - domain: "{{ sap_preconfigure_db_group_name }} " + domain: "@{{ sap_preconfigure_db_group_name }}" limit_item: nofile limit_type: "{{ line_item }}" value: "65536"