]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-osd: remove unused ceph config set for osd_memory_target
authorSeena Fallah <seenafallah@gmail.com>
Sat, 24 Sep 2022 17:49:09 +0000 (19:49 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 12 Oct 2022 08:49:27 +0000 (10:49 +0200)
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 <seenafallah@gmail.com>
(cherry picked from commit 8b983cfdbf77a8aada81b32dcbd2881025b0bfdb)

roles/ceph-osd/tasks/main.yml

index 3dc1e2117feb15799eed38d63b35435daf4cc259..623731ddd1d53803caad68bb5a6e907187e42c84 100644 (file)
     - 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] }}"