Merge "Fix deploy ceph failed when contoller hava no cluster_interface"
This commit is contained in:
@@ -11,12 +11,17 @@
|
|||||||
|
|
||||||
- name: Copying over config.json files for services
|
- name: Copying over config.json files for services
|
||||||
template:
|
template:
|
||||||
src: "{{ item }}.json.j2"
|
src: "{{ item.name }}.json.j2"
|
||||||
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
dest: "{{ node_config_directory }}/{{ item.name }}/config.json"
|
||||||
|
when:
|
||||||
|
- inventory_hostname in groups[item.group]
|
||||||
with_items:
|
with_items:
|
||||||
- "ceph-mon"
|
- name: "ceph-mon"
|
||||||
- "ceph-osd"
|
group: ceph-mon
|
||||||
- "ceph-rgw"
|
- name: "ceph-osd"
|
||||||
|
group: ceph-osd
|
||||||
|
- name: "ceph-rgw"
|
||||||
|
group: ceph-rgw
|
||||||
|
|
||||||
- name: Copying over ceph.conf
|
- name: Copying over ceph.conf
|
||||||
vars:
|
vars:
|
||||||
|
|||||||
Reference in New Issue
Block a user