Skip to content

Commit

Permalink
Update load-gtp5g-module.yml
Browse files Browse the repository at this point in the history
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."}
  • Loading branch information
radoslawc authored Jun 25, 2024
1 parent 31d7bd3 commit d24412f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit d24412f

Please sign in to comment.