ceph-ansible/library
Benoît Knecht bff2123430 library: Fix new-style modules check mode
Running the `ceph_crush.py`, `ceph_key.py` or `ceph_volume.py` modules in check
mode resulted in the following error:

```
New-style module did not handle its own exit
```

This was due to the fact that they simply returned a `dict` in that case,
instead of calling `module.exit_json()`.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(cherry picked from commit 85dd405814)
2020-10-07 07:07:22 +02:00
..
__init__.py tests for the ceph_volume module 2017-12-11 09:58:06 -06:00
ceph_add_users_buckets.py library: flake8 ceph-ansible modules 2020-10-06 08:56:45 +02:00
ceph_crush.py library: Fix new-style modules check mode 2020-10-07 07:07:22 +02:00
ceph_facts Discover rbd facts. 2018-11-20 15:06:01 +01:00
ceph_key.py library: Fix new-style modules check mode 2020-10-07 07:07:22 +02:00
ceph_volume.py library: Fix new-style modules check mode 2020-10-07 07:07:22 +02:00
config_template Using config_template 2015-12-16 17:19:50 +01:00
igw_client.py iscsi module linting 2018-10-30 14:41:36 +01:00
igw_gateway.py igw: Add check for mismatch ceph-iscsi and iscsigws.yml settings 2019-07-04 00:04:04 +00:00
igw_lun.py library: flake8 ceph-ansible modules 2020-10-06 08:56:45 +02:00
igw_purge.py library: flake8 ceph-ansible modules 2020-10-06 08:56:45 +02:00