mirror of https://github.com/ceph/ceph-ansible.git
ceph_volume: make state not required so I can provide a default
I want a default value of 'present' for state, so it can not be made required. Othewise it'll throw a 'Module alias error' from ansible. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/2233/merge
parent
9f469e2c5a
commit
a9b4c01b7c
|
@ -351,7 +351,7 @@ def run_module():
|
|||
module_args = dict(
|
||||
cluster=dict(type='str', required=False, default='ceph'),
|
||||
objectstore=dict(type='str', required=False, choices=['bluestore', 'filestore']),
|
||||
state=dict(type='str', required=True, choices=['present', 'absent'], default='present'),
|
||||
state=dict(type='str', required=False, choices=['present', 'absent'], default='present'),
|
||||
data=dict(type='str', required=True),
|
||||
data_vg=dict(type='str', required=False),
|
||||
journal=dict(type='str', required=False),
|
||||
|
|
Loading…
Reference in New Issue