commit 61b366bb366f1dca0684d00f7cbf4563f71630e6 Author: Bernd Finger Date: Fri Sep 3 12:16:35 2021 +0200 add tsx=on to the kernel command line unconditionally diff --git a/tasks/RedHat/generic/enable-tsx.yml b/tasks/RedHat/generic/enable-tsx.yml index 3dd6d09..c4be81c 100644 --- a/tasks/RedHat/generic/enable-tsx.yml +++ b/tasks/RedHat/generic/enable-tsx.yml @@ -3,16 +3,7 @@ - debug: msg: "imported RedHat/generic/enable-tsx.yml" -- name: Get the CPU flags - shell: lscpu | grep "^Flags" - register: __sap_hana_preconfigure_register_lscpu - when: - - ansible_architecture == 'x86_64' - - ansible_distribution == 'RedHat' - - ansible_distribution_major_version == '8' - - __sap_hana_preconfigure_fact_ansible_distribution_minor_version >= '3' - -- name: Enable TSX at boot time if CPU flag rtm is not present +- name: Enable TSX at boot time lineinfile: path: /etc/default/grub backup: yes @@ -28,7 +19,6 @@ - ansible_distribution == 'RedHat' - ansible_distribution_major_version == '8' - __sap_hana_preconfigure_fact_ansible_distribution_minor_version >= '3' - - not ' rtm' in __sap_hana_preconfigure_register_lscpu.stdout tags: grubconfig loop_control: loop_var: line_item