From 1936fe5181f970d18d24b6165165e854f3b30a77 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 29 Apr 2025 13:18:15 -0700 Subject: [PATCH] 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 Signed-off-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