diff --git a/lib/ansible/modules/system/lvol.py b/lib/ansible/modules/system/lvol.py index b17b690093f..d123e0fe6ca 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 23f7e139148..8e39555b433 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -2178,7 +2178,6 @@ 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/known_hosts.py E325 -lib/ansible/modules/system/lvol.py E324 lib/ansible/modules/system/make.py E317 lib/ansible/modules/system/make.py E324 lib/ansible/modules/system/make.py E327