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
|
||
---|---|---|
.. | ||
ceph_keys.yml | ||
deploy_monitors.yml | ||
main.yml | ||
secure_cluster.yml | ||
start_monitor.yml | ||
systemd.yml |