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/6835/head
Dimitri Savineau 2021-08-11 16:01:08 -04:00 committed by Guillaume Abrioux
parent 5b30a72869
commit a6b6706fdb
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,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: