ceph-ansible/roles/ceph-mon/tasks
Guillaume Abrioux ff2043f92c ceph_key: handle error in a better way
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 d58500ade0)
2021-07-02 14:01:52 +02:00
..
ceph_keys.yml Use ansible_facts 2021-03-26 00:16:58 +01:00
deploy_monitors.yml ceph_key: handle error in a better way 2021-07-02 14:01:52 +02:00
main.yml Use ansible_facts 2021-03-26 00:16:58 +01:00
secure_cluster.yml rename docker_exec_cmd variable 2019-05-17 16:05:58 +02:00
start_monitor.yml Use ansible_facts 2021-03-26 00:16:58 +01:00
systemd.yml container: isolate systemd tasks 2019-10-01 18:50:51 +02:00