library: remove useless condition in ceph_volume

Since the action values are already defined as a list of choices in
ansible then we will never enter into this condition.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/6055/head
Dimitri Savineau 2020-11-24 15:14:52 -05:00 committed by Guillaume Abrioux
parent 3baac5ad5b
commit 0cc34fa54e
1 changed files with 0 additions and 4 deletions

View File

@ -720,10 +720,6 @@ def run_module():
else:
cmd = batch_report_cmd
else:
module.fail_json(
msg='State must either be "create" or "prepare" or "activate" or "list" or "zap" or "batch" or "inventory".', changed=False, rc=1) # noqa E501
endd = datetime.datetime.now()
delta = endd - startd