From d24412fbd80bdc72604ddea9c5f2323f837911a3 Mon Sep 17 00:00:00 2001 From: Rado Chmiel Date: Tue, 25 Jun 2024 18:37:47 +0200 Subject: [PATCH] Update load-gtp5g-module.yml Fix for FAILED! => {"msg": "The conditional check 'ansible_facts.kernel == \"5.0.0-23-generic\" or True' failed. The error was: Conditional is marked as unsafe, and cannot be evaluated."} --- .../playbooks/roles/bootstrap/tasks/load-gtp5g-module.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/provision/playbooks/roles/bootstrap/tasks/load-gtp5g-module.yml b/e2e/provision/playbooks/roles/bootstrap/tasks/load-gtp5g-module.yml index de572d20..0ee73750 100644 --- a/e2e/provision/playbooks/roles/bootstrap/tasks/load-gtp5g-module.yml +++ b/e2e/provision/playbooks/roles/bootstrap/tasks/load-gtp5g-module.yml @@ -19,7 +19,7 @@ - name: Ensure gtp5g kernel constraints ansible.builtin.assert: - that: 'ansible_facts.kernel == "5.0.0-23-generic" or {{ ansible_facts.kernel | replace("-generic", "") is version("5.4", ">=") }}' + that: 'ansible_facts.kernel == "5.0.0-23-generic" or ansible_facts.kernel | replace("-generic", "") is version("5.4", ">=") ' fail_msg: "{{ ansible_facts.kernel }} version not supported by gtp5g module" - name: Install compilation packages and kernel development tools on {{ ansible_os_family }}