library: ceph_crush: set containerized param to false to respect docstrings

Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
pull/7452/head
Konstantin Shalygin 2021-02-19 17:49:25 +03:00 committed by Guillaume Abrioux
parent 18cd35bad5
commit d1f85f5ad3
1 changed files with 7 additions and 13 deletions

View File

@ -139,16 +139,14 @@ def exec_commands(module, cmd_list):
return rc, cmd, out, err
def run_module():
module_args = dict(
cluster=dict(type='str', required=False, default='ceph'),
location=dict(type='dict', required=True),
containerized=dict(type='str', required=True, default=None),
)
def main():
module = AnsibleModule(
argument_spec=module_args,
supports_check_mode=True
argument_spec=dict(
cluster=dict(type='str', required=False, default='ceph'),
location=dict(type='dict', required=True),
containerized=dict(type='str', required=False, default=None),
),
supports_check_mode=True,
)
cluster = module.params['cluster']
@ -194,9 +192,5 @@ def run_module():
module.exit_json(**result)
def main():
run_module()
if __name__ == '__main__':
main()