Skip to content

Commit

Permalink
ceph-mon: do not log monitor keyring
Browse files Browse the repository at this point in the history
We don't want to display the keyring in the ansible log.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit e44075a)
  • Loading branch information
dsavineau authored and guits committed Aug 12, 2021
1 parent 5b30a72 commit a6b6706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/ceph-mon/tasks/deploy_monitors.yml
Expand Up @@ -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:
Expand Down

0 comments on commit a6b6706

Please sign in to comment.