Handle external ceph configs as templates
Change-Id: Ice5b058fe17ad7d648f21d1ddacaa339c6f7102f
This commit is contained in:
parent
e66cb5d46b
commit
fcf755c8ce
@ -10,7 +10,7 @@
|
|||||||
- "gnocchi-statsd"
|
- "gnocchi-statsd"
|
||||||
|
|
||||||
- name: Copy over ceph.conf file
|
- name: Copy over ceph.conf file
|
||||||
copy:
|
template:
|
||||||
src: "{{ node_custom_config }}/{{ item }}/ceph.conf"
|
src: "{{ node_custom_config }}/{{ item }}/ceph.conf"
|
||||||
dest: "{{ node_config_directory }}/{{ item }}/ceph.conf"
|
dest: "{{ node_config_directory }}/{{ item }}/ceph.conf"
|
||||||
when: inventory_hostname in groups[item]
|
when: inventory_hostname in groups[item]
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
- Restart nova-libvirt container
|
- Restart nova-libvirt container
|
||||||
|
|
||||||
- name: Copy over ceph.conf
|
- name: Copy over ceph.conf
|
||||||
copy:
|
template:
|
||||||
src: "{{ node_custom_config }}/nova/ceph.conf"
|
src: "{{ node_custom_config }}/nova/ceph.conf"
|
||||||
dest: "{{ node_config_directory }}/{{ item }}/"
|
dest: "{{ node_config_directory }}/{{ item }}/"
|
||||||
mode: "0660"
|
mode: "0660"
|
||||||
|
Loading…
Reference in New Issue
Block a user