use loop instead of with_items (#47231)

pull/4420/head
Baptiste Mille-Mathias 2019-02-19 19:52:37 +01:00 committed by ansibot
parent 8d5811a611
commit dd669c8f6f
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}"
'''