mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
[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 commit1936fe5181) (cherry picked from commit8222f1f064) Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com> Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
7a3df2ca59
commit
c41465cb74
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue