From c25d2f25625f0c1e9103276f97a32c6136c7aaf7 Mon Sep 17 00:00:00 2001 From: Julien Girardin Date: Fri, 21 Sep 2018 22:53:31 +0200 Subject: [PATCH] Backport a change on doc for lvol module (#45914) * Documentation change for resizefs (#43224) 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. --- 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 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