ceph-ansible/library
Dimitri Savineau c1dd0a6cbe 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>
(cherry picked from commit 7d3d51d6da)
2022-09-12 14:22:13 +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 2021-08-02 15:53:00 +02:00
ceph_crush.py library: flake8 ceph-ansible modules 2021-08-02 15:53:00 +02:00
ceph_key.py library/ceph_key: add output format parameter 2022-09-12 14:22:13 +02:00
ceph_osd_flag.py library: flake8 ceph-ansible modules 2021-08-02 15:53:00 +02:00
ceph_volume.py library: remove unused module import 2021-08-02 15:53:00 +02:00
config_template Using config_template 2015-12-16 17:19:50 +01:00
igw_client.py library: flake8 ceph-ansible modules 2021-08-02 15:53:00 +02:00
igw_gateway.py library: flake8 ceph-ansible modules 2021-08-02 15:53:00 +02:00
igw_lun.py library: flake8 ceph-ansible modules 2021-08-02 15:53:00 +02:00
igw_purge.py library: flake8 ceph-ansible modules 2021-08-02 15:53:00 +02:00