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 c55c87d commit ffe01c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/ceph-mon/tasks/deploy_monitors.yml
Original file line number Diff line number Diff line change
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 ffe01c7

Please sign in to comment.