Change python code blocks to yaml
Merge pull request #15367 from nmadhok/patch-1

Change python code blocks to yaml
lvresize initial commit
resize2fs added & lvm excluded to another branch
lint fixes