Use loop instead of obsolete with_items (#47244)
* Use loop instead of with_items
This commit is contained in:
parent
628f62c571
commit
27af6367d4
1 changed files with 1 additions and 2 deletions
|
@ -184,8 +184,7 @@ EXAMPLES = r'''
|
||||||
device: /dev/sdb
|
device: /dev/sdb
|
||||||
number: '{{ item.num }}'
|
number: '{{ item.num }}'
|
||||||
state: absent
|
state: absent
|
||||||
with_items:
|
loop: '{{ sdb_info.partitions }}'
|
||||||
- '{{ sdb_info.partitions }}'
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue