rhel-system-roles-sap/SOURCES/sap-hana-preconfigure-#104-...

55 lines
2.2 KiB
Diff

commit 6d65f9b667a8a7dec17caa70c5df929b921691a6
Author: Bernd Finger <bfinger@redhat.com>
Date: Thu Jul 16 11:59:24 2020 +0200
solve issues #104, #105
diff --git a/tasks/RedHat/generic/disable-coredumps.yml b/tasks/RedHat/generic/disable-coredumps.yml
index cefdb68..640a60c 100644
--- a/tasks/RedHat/generic/disable-coredumps.yml
+++ b/tasks/RedHat/generic/disable-coredumps.yml
@@ -9,7 +9,7 @@
domain: "*"
limit_item: core
limit_type: "{{ line_item }}"
- value: 0
+ value: '0'
with_items:
- hard
- soft
diff --git a/tasks/sapnote/2055470.yml b/tasks/sapnote/2055470.yml
index 893420a..aa7da75 100644
--- a/tasks/sapnote/2055470.yml
+++ b/tasks/sapnote/2055470.yml
@@ -22,7 +22,7 @@
changed_when: sapnote_2055470_mtusize.rc == 0
failed_when: sapnote_2055470_mtusize.rc > 0 and sapnote_2055470_mtusize.rc != 90
with_items: "{{ sap_hana_preconfigure_ppcle_mtu9000_if }}"
- when: not( (sap_hana_preconfigure_ppcle_mtu9000_if) or ( sap_hana_preconfigure_ppcle_mtu9000_if is none) or (sap_hana_preconfigure_ppcle_mtu9000_if | trim == '') )
+ when: not( (sap_hana_preconfigure_ppcle_mtu9000_if is undefined) or (sap_hana_preconfigure_ppcle_mtu9000_if is none) or (sap_hana_preconfigure_ppcle_mtu9000_if | trim == '') )
loop_control:
loop_var: line_item
@@ -33,7 +33,7 @@
line: ETHTOOL_OPTIONS_tso='-K iface tso on'
path: /etc/sysconfig/network-scripts/ifcfg-{{ line_item }}
with_items: "{{ sap_hana_preconfigure_ppcle_tso_if }}"
- when: not( (sap_hana_preconfigure_ppcle_tso_if) or ( sap_hana_preconfigure_ppcle_tso_if is none) or (sap_hana_preconfigure_ppcle_tso_if | trim == '') )
+ when: not( (sap_hana_preconfigure_ppcle_tso_if is undefined) or (sap_hana_preconfigure_ppcle_tso_if is none) or (sap_hana_preconfigure_ppcle_tso_if | trim == '') )
loop_control:
loop_var: line_item
diff --git a/tasks/sapnote/2777782/10-increase-pidmax.yml b/tasks/sapnote/2777782/10-increase-pidmax.yml
index fe210d4..40860cb 100644
--- a/tasks/sapnote/2777782/10-increase-pidmax.yml
+++ b/tasks/sapnote/2777782/10-increase-pidmax.yml
@@ -7,7 +7,7 @@
sysctl:
sysctl_file: /etc/sysctl.d/sap.conf
name: kernel.pid_max
- value: 4194304
+ value: '4194304'
state: present
sysctl_set: yes
reload: yes