From 2d84387d8466ffa6bf94f104e41c1cc7d3df324a Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 21 Jan 2021 14:43:11 +0100 Subject: [PATCH] Fix parted resize example in docs (#1653) (#1655) (#1656) (cherry picked from commit 144855e820bc50457c56be2f5f64e5282c846334) Co-authored-by: jake2184 --- plugins/modules/system/parted.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/system/parted.py b/plugins/modules/system/parted.py index 3cc4ec0ebf..12c4e67d5c 100644 --- a/plugins/modules/system/parted.py +++ b/plugins/modules/system/parted.py @@ -217,10 +217,11 @@ EXAMPLES = r''' - name: Extend an existing partition to fill all available space community.general.parted: - decice: /dev/sdb + device: /dev/sdb number: "{{ sdb_info.partitions | length }}" part_end: "100%" resize: true + state: present '''