diff --git a/templates/615_kernel-modules.yaml.tt2 b/templates/615_kernel-modules.yaml.tt2 index dba1e82..f4a6a23 100644 --- a/templates/615_kernel-modules.yaml.tt2 +++ b/templates/615_kernel-modules.yaml.tt2 @@ -12,9 +12,9 @@ command: stderr: [] {{if and [% (rtpengine.enable == "yes" && is_proxy) ? 1 : 0 %] .Vars.NODE_ACTIVE}} - lsmod | grep -Ec "xt_RTPENGINE|nft_rtpengine": + lsmod | grep -Ec "^(xt_RTPENGINE|nft_rtpengine)": exit-status: 0 stdout: - - '/^2$/' + - '/^1$/' stderr: [] {{end}}