mirror of https://github.com/ceph/ceph-ansible.git
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
parent
3baac5ad5b
commit
0cc34fa54e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue