From 664f965c8d1ec4c1f7e4befb67036728357b13ef Mon Sep 17 00:00:00 2001 From: mcameron Date: Wed, 8 Apr 2015 17:33:04 +0100 Subject: [PATCH] Revert "system/lvol: Suppress prompts from lvcreate" This reverts commit f8d04bec1bbdfb0e61e6d3255b16b5bfe23b42f1. --- lib/ansible/modules/extras/system/lvol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/system/lvol.py b/lib/ansible/modules/extras/system/lvol.py index 888e246fe41..d1e144157f4 100644 --- a/lib/ansible/modules/extras/system/lvol.py +++ b/lib/ansible/modules/extras/system/lvol.py @@ -187,7 +187,7 @@ def main(): changed = True else: lvcreate_cmd = module.get_bin_path("lvcreate", required=True) - rc, _, err = module.run_command("%s --yes -n %s -%s %s%s %s" % (lvcreate_cmd, lv, size_opt, size, size_unit, vg)) + rc, _, err = module.run_command("%s -n %s -%s %s%s %s" % (lvcreate_cmd, lv, size_opt, size, size_unit, vg)) if rc == 0: changed = True else: