From 27af6367d446e488bc53a6a058dcf83f794f8559 Mon Sep 17 00:00:00 2001 From: Baptiste Mille-Mathias Date: Tue, 19 Feb 2019 19:06:54 +0100 Subject: [PATCH] Use loop instead of obsolete with_items (#47244) * Use loop instead of with_items --- lib/ansible/modules/system/parted.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/system/parted.py b/lib/ansible/modules/system/parted.py index fdae37f339c..439fd21a48d 100644 --- a/lib/ansible/modules/system/parted.py +++ b/lib/ansible/modules/system/parted.py @@ -184,8 +184,7 @@ EXAMPLES = r''' device: /dev/sdb number: '{{ item.num }}' state: absent - with_items: - - '{{ sdb_info.partitions }}' + loop: '{{ sdb_info.partitions }}' '''