[parted] Fixes incorrect arg spec and check (#27839)
[parted] Fixes incorrect arg spec and check (#27839)

* [parted] Fixes incorrect arg spec and check

* [parted] Fixes spaces around parameter

thaim/ansible,thaim/ansible