From 5eb47066e34b67db22b323a23be77fdb755dd8e0 Mon Sep 17 00:00:00 2001 From: tomelrod Date: Tue, 24 Jul 2018 17:22:24 -0500 Subject: [PATCH] Documentation change for resizefs (#43224) * Documentation change for resizefs Changed documentation to match the default value of resizefs set in the code. Added a note on the resizefs use on the example utilizing it. * Remove test now it validates fine --- lib/ansible/modules/system/lvol.py | 4 ++-- test/sanity/validate-modules/ignore.txt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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