From fea7044f464525fdafcb23d4dd12169d2308c90a Mon Sep 17 00:00:00 2001 From: Seena Fallah Date: Sat, 24 Sep 2022 19:49:09 +0200 Subject: [PATCH] ceph-osd: remove unused ceph config set for osd_memory_target As the conf is always being set in the config file there is no need to set it in with `ceph config`. Also this will make it hard to run the playbook with the `ceph_update_config` tag as it won't run and will create an inconsistency between the config managements of the cluster Signed-off-by: Seena Fallah (cherry picked from commit 8b983cfdbf77a8aada81b32dcbd2881025b0bfdb) --- roles/ceph-osd/tasks/main.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/ceph-osd/tasks/main.yml b/roles/ceph-osd/tasks/main.yml index 3dc1e2117..623731ddd 100644 --- a/roles/ceph-osd/tasks/main.yml +++ b/roles/ceph-osd/tasks/main.yml @@ -113,8 +113,3 @@ - openstack_config | bool - inventory_hostname == groups[osd_group_name] | last tags: wait_all_osds_up - -- name: set osd_memory_target - command: "{{ ceph_cmd }} --cluster {{ cluster }} config set osd/host:{{ inventory_hostname }} osd_memory_target {{ _osd_memory_target | default(osd_memory_target) }}" - changed_when: false - delegate_to: "{{ groups[mon_group_name][0] }}" -- 2.39.5