mirror of https://github.com/ceph/ceph-ansible.git
ff2043f92c
When calling the `ceph_key` module with `state: info`, if the ceph
command called fails, the actual error is hidden by the module which
makes it pretty difficult to troubleshoot.
The current code always states that if rc is not equal to 0 the keyring
doesn't exist.
`state: info` should always return the actual rc, stdout and stderr.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1964889
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
ceph_add_users_buckets.py | ||
ceph_crush.py | ||
ceph_key.py | ||
ceph_osd_flag.py | ||
ceph_volume.py | ||
config_template | ||
igw_client.py | ||
igw_gateway.py | ||
igw_lun.py | ||
igw_purge.py |