ceph-mon: do not log monitor keyring

We don't want to display the keyring in the ansible log.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit e44075abd6)
pull/6836/head
Dimitri Savineau 2021-08-11 16:01:08 -04:00 committed by Guillaume Abrioux
parent 634baa9b63
commit 490a1c6ba6
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@
set_fact:
monitor_keyring: "{{ (initial_mon_key.stdout | from_json)[0]['key'] if _initial_mon_key_success | bool else monitor_keyring.stdout }}"
when: initial_mon_key.stdout|default('')|length > 0 or monitor_keyring is not skipped
no_log: "{{ no_log_on_ceph_key_tasks }}"
- name: create monitor initial keyring
ceph_key: