mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
use loop instead of with_items (#47231)
This commit is contained in:
parent
8d5811a611
commit
dd669c8f6f
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ EXAMPLES = r'''
|
|||
name: '{{ item.device }}'
|
||||
state: opts_present
|
||||
opts: discard
|
||||
with_items: '{{ ansible_mounts }}'
|
||||
loop: '{{ ansible_mounts }}'
|
||||
when: "'/dev/mapper/luks-' in {{ item.device }}"
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue