From e44075abd607648da88b4e3555353a99ecb171a6 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Wed, 11 Aug 2021 16:01:08 -0400 Subject: [PATCH] ceph-mon: do not log monitor keyring We don't want to display the keyring in the ansible log. Signed-off-by: Dimitri Savineau --- roles/ceph-mon/tasks/deploy_monitors.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-mon/tasks/deploy_monitors.yml b/roles/ceph-mon/tasks/deploy_monitors.yml index 3c66dcb199..3c1ceaca6f 100644 --- a/roles/ceph-mon/tasks/deploy_monitors.yml +++ b/roles/ceph-mon/tasks/deploy_monitors.yml @@ -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: