Allow dynamic enabling/disabling of cset

Add a separate config to handle enable/disable on the system itself.
This commit is contained in:
2023-09-01 15:42:27 -04:00
parent 2ae9b9075a
commit 7927ec4f11
3 changed files with 23 additions and 6 deletions

View File

@ -117,6 +117,14 @@
- ceph-mon@{{ ansible_hostname }}
- ceph-mgr@{{ ansible_hostname }}
# This is separate from the block to allow *disabling* of the config without removing it
- name: install ceph-osd-cpuset controller config
template:
src: ceph/ceph-osd-cpuset-enable.j2
dest: /etc/default/ceph-osd-cpuset
when:
- pvc_shield_osds_enable is defined
# System OSD CPU shielding activation
- block:
- name: install packages