diff --git a/lib/ansible/modules/system/lvol.py b/lib/ansible/modules/system/lvol.py index b17b690093..d123e0fe6c 100644 --- a/lib/ansible/modules/system/lvol.py +++ b/lib/ansible/modules/system/lvol.py @@ -80,7 +80,7 @@ options: description: - Resize the underlying filesystem together with the logical volume. type: bool - default: 'yes' + default: 'no' version_added: "2.5" notes: - You must specify lv (when managing the state of logical volumes) or thinpool (when managing a thin provisioned volume). @@ -138,7 +138,7 @@ EXAMPLES = ''' lv: test size: +100%FREE -- name: Extend the logical volume to take all remaining space of the PVs +- name: Extend the logical volume to take all remaining space of the PVs and resize the underlying filesystem lvol: vg: firefly lv: test diff --git a/test/sanity/validate-modules/ignore.txt b/test/sanity/validate-modules/ignore.txt index f4e6d6a1a3..e7dd853a32 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -1163,7 +1163,6 @@ lib/ansible/modules/system/iptables.py E326 lib/ansible/modules/system/java_cert.py E324 lib/ansible/modules/system/java_cert.py E325 lib/ansible/modules/system/known_hosts.py E324 -lib/ansible/modules/system/lvol.py E324 lib/ansible/modules/system/make.py E317 lib/ansible/modules/system/mount.py E324 lib/ansible/modules/system/open_iscsi.py E322