mirror of https://github.com/ceph/ceph-ansible.git
docker: we don't need to copy the ceph.conf on all the nodes
We generate the ceph.conf on all the nodes through the ceph-docker-common so there is no need to push it to the Ansible file. Also this is breaking the ceph.conf template generation since we only generate sections based on the host the ansible task is running on. For example, what's typically happening, we bootstrap the monitor, we get a ceph.conf generated for a mon only, we go on an osd, we generate the ceph.conf with osd section (done by ceph-docker-common) but this gets overwritten by the copy_config task of the ceph-osd role. Signed-off-by: Sébastien Han <seb@redhat.com>pull/1929/head
parent
7aab133617
commit
cb05172605
|
@ -2,7 +2,6 @@
|
|||
- name: set_fact ceph_config_keys
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /etc/ceph/{{ cluster }}.conf
|
||||
- /etc/ceph/{{ cluster }}.client.admin.keyring
|
||||
- /var/lib/ceph/bootstrap-mds/{{ cluster }}.keyring
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: set_fact ceph_config_keys
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /etc/ceph/{{ cluster }}.conf
|
||||
- /etc/ceph/{{ cluster }}.mgr.{{ ansible_hostname }}.keyring
|
||||
|
||||
- name: stat for ceph config and keys
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: set_fact ceph_config_keys
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /etc/ceph/{{ cluster }}.conf
|
||||
- /etc/ceph/{{ cluster }}.client.admin.keyring
|
||||
- /etc/ceph/monmap-{{ cluster }}
|
||||
- /etc/ceph/{{ cluster }}.mon.keyring
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: set config and keys paths
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /etc/ceph/{{ cluster }}.conf
|
||||
- /etc/ceph/{{ cluster }}.client.admin.keyring
|
||||
- /var/lib/ceph/radosgw/keyring
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: set config and keys paths
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /etc/ceph/{{ cluster }}.conf
|
||||
- /var/lib/ceph/bootstrap-osd/{{ cluster }}.keyring
|
||||
|
||||
- name: wait for ceph.conf and keys
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
- name: set_fact ceph_config_keys
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /etc/ceph/{{ cluster }}.conf
|
||||
- /etc/ceph/{{ cluster }}.client.admin.keyring
|
||||
- "{{ bootstrap_rbd_keyring | default([]) }}"
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: set_fact ceph_config_keys
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /etc/ceph/{{ cluster }}.conf
|
||||
- /etc/ceph/{{ cluster }}.client.admin.keyring
|
||||
|
||||
- name: stat for ceph config and keys
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
- name: set config and keys paths
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /etc/ceph/{{ cluster }}.conf
|
||||
- /var/lib/ceph/bootstrap-rgw/{{ cluster }}.keyring
|
||||
|
||||
- name: stat for ceph config and keys
|
||||
|
|
Loading…
Reference in New Issue