Blame SOURCES/sap-preconfigure-#81-6be65f40569044307bbf41038b766ff571a08025.patch

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