mirror of https://github.com/ceph/ceph-ansible.git
docker-common: Fix bug when updating config
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>pull/1727/head
parent
7a333d05ce
commit
608bad901d
|
@ -42,12 +42,6 @@
|
|||
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
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- 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"
|
||||
|
|
Loading…
Reference in New Issue