Skip to content

Commit c41465c

Browse files
patchback[bot]felixfonteinAkasurde
authored
[PR #10081/8222f1f0 backport][stable-8] [stable-9] crypttab: removes jijna delimiters from example using when (#10079) (#10082)
[stable-9] crypttab: removes jijna delimiters from example using when (#10079) (#10081) 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 1936fe5) (cherry picked from commit 8222f1f) Signed-off-by: Abhijeet Kasurde <[email protected]> Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Abhijeet Kasurde <[email protected]>
1 parent 7a3df2c commit c41465c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/crypttab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
state: opts_present
7878
opts: discard
7979
loop: '{{ ansible_mounts }}'
80-
when: "'/dev/mapper/luks-' in {{ item.device }}"
80+
when: "'/dev/mapper/luks-' in item.device"
8181
'''
8282

8383
import os

0 commit comments

Comments
 (0)