mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
use loop instead of with_items (#47231)
This commit is contained in:
committed by
ansibot
parent
8d5811a611
commit
dd669c8f6f
@@ -73,7 +73,7 @@ EXAMPLES = r'''
|
|||||||
name: '{{ item.device }}'
|
name: '{{ item.device }}'
|
||||||
state: opts_present
|
state: opts_present
|
||||||
opts: discard
|
opts: discard
|
||||||
with_items: '{{ ansible_mounts }}'
|
loop: '{{ ansible_mounts }}'
|
||||||
when: "'/dev/mapper/luks-' in {{ item.device }}"
|
when: "'/dev/mapper/luks-' in {{ item.device }}"
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user