From c5693607c7188e09bea3d7a5e30d0e64ed1378cb Mon Sep 17 00:00:00 2001 From: Bernd Finger Date: Mon, 15 Jan 2024 18:50:02 +0100 Subject: [PATCH] sap_hypervisor_node_preconfigure: Fix leftover 'that:' statement ... for CVE-2023-5764 Signed-off-by: Bernd Finger --- .../tasks/platform/redhat_rhel_kvm/assert-installation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/sap_hypervisor_node_preconfigure/tasks/platform/redhat_rhel_kvm/assert-installation.yml b/roles/sap_hypervisor_node_preconfigure/tasks/platform/redhat_rhel_kvm/assert-installation.yml index 227d7e998..34aa3014e 100644 --- a/roles/sap_hypervisor_node_preconfigure/tasks/platform/redhat_rhel_kvm/assert-installation.yml +++ b/roles/sap_hypervisor_node_preconfigure/tasks/platform/redhat_rhel_kvm/assert-installation.yml @@ -4,7 +4,7 @@ - name: Assert that all required packages are installed ansible.builtin.assert: - that: "'{{ line_item }}' in ansible_facts.packages" + that: line_item in ansible_facts.packages fail_msg: "FAIL: Package '{{ line_item }}' is not installed!" success_msg: "PASS: Package '{{ line_item }}' is installed." with_items: