Handle external ceph configs as templates

Change-Id: Ice5b058fe17ad7d648f21d1ddacaa339c6f7102f
This commit is contained in:
Christian Berendt 2018-03-06 18:47:42 +01:00
parent e66cb5d46b
commit fcf755c8ce
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
- "gnocchi-statsd"
- name: Copy over ceph.conf file
copy:
template:
src: "{{ node_custom_config }}/{{ item }}/ceph.conf"
dest: "{{ node_config_directory }}/{{ item }}/ceph.conf"
when: inventory_hostname in groups[item]

View File

@ -42,7 +42,7 @@
- Restart nova-libvirt container
- name: Copy over ceph.conf
copy:
template:
src: "{{ node_custom_config }}/nova/ceph.conf"
dest: "{{ node_config_directory }}/{{ item }}/"
mode: "0660"