mirror of https://github.com/ceph/ceph-ansible.git
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
parent
5b30a72869
commit
a6b6706fdb
|
@ -40,6 +40,7 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
monitor_keyring: "{{ (initial_mon_key.stdout | from_json)[0]['key'] if _initial_mon_key_success | bool else monitor_keyring.stdout }}"
|
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
|
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
|
- name: create monitor initial keyring
|
||||||
ceph_key:
|
ceph_key:
|
||||||
|
|
Loading…
Reference in New Issue