From 7b83b7f7bbfcae859f22d5510ce5cc9a7be393d3 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Tue, 29 Apr 2025 23:14:28 +0200 Subject: [PATCH] [PR #10079/1936fe51 backport][stable-10] crypttab: removes jijna delimiters from example using when (#10080) crypttab: removes jijna delimiters from example using when (#10079) The current example includes extra jinja delimiters which result in double-interpretation of the statement. Fixes: #10078 (cherry picked from commit 1936fe5181f970d18d24b6165165e854f3b30a77) Signed-off-by: Abhijeet Kasurde Co-authored-by: Abhijeet Kasurde --- plugins/modules/crypttab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/crypttab.py b/plugins/modules/crypttab.py index f728e39ade..05a5afb082 100644 --- a/plugins/modules/crypttab.py +++ b/plugins/modules/crypttab.py @@ -72,7 +72,7 @@ EXAMPLES = r""" state: opts_present opts: discard loop: '{{ ansible_mounts }}' - when: "'/dev/mapper/luks-' in {{ item.device }}" + when: "'/dev/mapper/luks-' in item.device" """ import os