ceph-ansible/roles/ceph-mon/tasks
Guillaume Abrioux adfb9d3b2a 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-06-30 20:34:17 +02:00
..
ceph_keys.yml Use ansible_facts 2021-03-26 00:04:49 +01:00
deploy_monitors.yml ceph_key: handle error in a better way 2021-06-30 20:34:17 +02:00
main.yml Use ansible_facts 2021-03-26 00:04:49 +01:00
secure_cluster.yml rename docker_exec_cmd variable 2019-05-16 16:39:13 +02:00
start_monitor.yml Use ansible_facts 2021-03-26 00:04:49 +01:00
systemd.yml container: isolate systemd tasks 2019-10-01 10:27:51 -04:00