summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/storage/infinidat/infini_vol.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/storage/infinidat/infini_vol.py')
-rw-r--r--lib/ansible/modules/storage/infinidat/infini_vol.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ansible/modules/storage/infinidat/infini_vol.py b/lib/ansible/modules/storage/infinidat/infini_vol.py
index 729ade6f28..c83a7a6767 100644
--- a/lib/ansible/modules/storage/infinidat/infini_vol.py
+++ b/lib/ansible/modules/storage/infinidat/infini_vol.py
@@ -126,10 +126,10 @@ def main():
argument_spec = infinibox_argument_spec()
argument_spec.update(
dict(
- name = dict(required=True),
- state = dict(default='present', choices=['present', 'absent']),
- pool = dict(required=True),
- size = dict()
+ name=dict(required=True),
+ state=dict(default='present', choices=['present', 'absent']),
+ pool=dict(required=True),
+ size=dict()
)
)
@@ -144,9 +144,9 @@ def main():
except:
module.fail_json(msg='size (Physical Capacity) should be defined in MB, GB, TB or PB units')
- state = module.params['state']
+ state = module.params['state']
system = get_system(module)
- pool = get_pool(module, system)
+ pool = get_pool(module, system)
volume = get_volume(module, system)
if pool is None: