ceph-ansible/tests/library
Dimitri Savineau 7d3d51d6da library/ceph_key: add output format parameter
The ceph_key module currently only supports the json output for the
info state.
When using this state on an entity then we something want the output
as:
  - plain for copying it to another node.
  - json in order to get only a subset information of the entity (like
the key or caps).

This patch adds the output_format parameter which uses json as a
default value for backward compatibility. It removes the internal and
hardcoded variable also called output_format.
In addition of json and plain outputs, there's also xml and yaml
values available.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2020-11-02 17:17:29 +01:00
..
test_ceph_crush.py flake8: fix all tests/library/*.py files 2020-10-02 08:51:39 +02:00
test_ceph_dashboard_user.py flake8: fix all tests/library/*.py files 2020-10-02 08:51:39 +02:00
test_ceph_fs.py library: add ceph_fs module 2020-10-06 08:02:58 +02:00
test_ceph_key.py library/ceph_key: add output format parameter 2020-11-02 17:17:29 +01:00
test_ceph_pool.py ceph_pool: update tests 2020-10-02 07:42:40 +02:00
test_ceph_volume.py flake8: fix all tests/library/*.py files 2020-10-02 08:51:39 +02:00
test_radosgw_realm.py library: add radosgw_realm module 2020-10-06 10:07:58 +02:00
test_radosgw_user.py library: add radosgw_user module 2020-10-06 10:07:58 +02:00
test_radosgw_zone.py library: add radosgw_zone module 2020-10-06 10:07:58 +02:00
test_radosgw_zonegroup.py library: add radosgw_zonegroup module 2020-10-06 10:07:58 +02:00