Sam Yaple 83d195249e Convert ceph to json
Remove ceph debug info and unused partuuid

Change-Id: Ifbe9890979ee666d7e43a04376f36c41ae2d8add
Implements: blueprint ceph-container
Partially-Implements: blueprint replace-config-external
2015-09-28 10:35:52 +00:00

33 lines
1.1 KiB
YAML

---
- include: ../../config.yml
vars:
service_name: "ceph-mon"
config_source:
- "roles/ceph/templates/ceph.conf.j2"
- "/etc/kolla/config/ceph.conf"
config_template_dest:
- "{{ node_templates_directory }}/{{ service_name }}/ceph.conf_minimal"
- "{{ node_templates_directory }}/{{ service_name }}/ceph.conf_augment"
config_dest: "{{ node_config_directory }}/{{ service_name }}/ceph.conf"
- name: Copying over ceph-mon JSON configuration file
template:
src: "ceph-mon.json.j2"
dest: "{{ node_config_directory }}/ceph-mon/config.json"
- include: ../../config.yml
vars:
service_name: "ceph-osd"
config_source:
- "roles/ceph/templates/ceph.conf.j2"
- "/etc/kolla/config/ceph.conf"
config_template_dest:
- "{{ node_templates_directory }}/{{ service_name }}/ceph.conf_minimal"
- "{{ node_templates_directory }}/{{ service_name }}/ceph.conf_augment"
config_dest: "{{ node_config_directory }}/{{ service_name }}/ceph.conf"
- name: Copying over ceph-osd JSON configuration file
template:
src: "ceph-osd.json.j2"
dest: "{{ node_config_directory }}/ceph-osd/config.json"