From 149ebdb15f7faad58859c7e497cda4330cd249e6 Mon Sep 17 00:00:00 2001 From: Borys Borysenko Date: Wed, 24 Feb 2016 01:54:45 +0200 Subject: [PATCH] The size option is required for lvol module with state=present --- lib/ansible/modules/extras/system/lvol.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/system/lvol.py b/lib/ansible/modules/extras/system/lvol.py index 61c76abd287..cbc7d47e3a9 100644 --- a/lib/ansible/modules/extras/system/lvol.py +++ b/lib/ansible/modules/extras/system/lvol.py @@ -48,7 +48,8 @@ options: choices: [ "present", "absent" ] default: present description: - - Control if the logical volume exists. + - Control if the logical volume exists. If C(present) the C(size) option + is required. required: false force: version_added: "1.5"