ceph-config: always set _osd_memory_target

this should be set when rolling_update is true as well, otherwise, it will reset to default on the upgrade

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit ac4dfa7526)
pull/7335/head
Seena Fallah 2022-09-24 19:07:36 +02:00 committed by Guillaume Abrioux
parent e7b7d503bb
commit 5a36d3dbe5
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@
when:
- devices | default([]) | length > 0
- name: set osd related config facts
when: inventory_hostname in groups.get(osd_group_name, [])
block:
- name: set_fact osd_memory_target, override from ceph_conf_overrides
set_fact:
osd_memory_target: "{{ item }}"