Use loop instead of obsolete with_items (#47244)

* Use loop instead of with_items
This commit is contained in:
Baptiste Mille-Mathias 2019-02-19 19:06:54 +01:00 committed by Alicia Cozine
parent 628f62c571
commit 27af6367d4

View file

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