in containerized deployment, if you try to update your `ceph.conf` file
it won't be actually updated on your nodes because it is overwritten by
the copy of the file which is present in your fetch directory.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
mode: "0644"
config_overrides: "{{ ceph_conf_overrides }}"
config_type: ini
- when:
- - (not mon_containerized_default_ceph_conf_with_kv and
- (inventory_hostname in groups.get(mon_group_name, []) or inventory_hostname in groups.get(osd_group_name, []))) or
- (not mon_containerized_default_ceph_conf_with_kv and
- ((groups.get(nfs_group_name, []) | length > 0)
- and (inventory_hostname == groups.get(nfs_group_name, [])[0])))
notify:
- restart ceph mons
- restart ceph osds
- name: set config and keys paths
set_fact:
ceph_config_keys:
- - "{{ ceph_conf_key_directory }}/{{ cluster }}.conf"
- "{{ ceph_conf_key_directory }}/{{ cluster }}.client.admin.keyring"
- "{{ ceph_conf_key_directory }}/monmap-{{ cluster }}"
- "{{ ceph_conf_key_directory }}/{{ cluster }}.mon.keyring"