diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-11-11 16:58:30 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-11-11 16:58:30 +0000 |
| commit | 7178e13d782c32b2d3b32aaadfd5cc6ba39c4a23 (patch) | |
| tree | e073e3df4b65622f7dcb2e260e6491a795887b2b /ansible/roles/cinder/tasks/config.yml | |
| parent | d389d7aacff98687a7fb625292cf767543e91f15 (diff) | |
| parent | 17e6e629f5660a364498b2bfd2f5aa6aede79859 (diff) | |
| download | kolla-7178e13d782c32b2d3b32aaadfd5cc6ba39c4a23.tar.gz kolla-7178e13d782c32b2d3b32aaadfd5cc6ba39c4a23.zip | |
Merge "Allow cinder-volume to be configured to use NFS"
Diffstat (limited to 'ansible/roles/cinder/tasks/config.yml')
| -rw-r--r-- | ansible/roles/cinder/tasks/config.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/cinder/tasks/config.yml b/ansible/roles/cinder/tasks/config.yml index 800401615..ecdd67c40 100644 --- a/ansible/roles/cinder/tasks/config.yml +++ b/ansible/roles/cinder/tasks/config.yml @@ -49,3 +49,14 @@ dest: "{{ node_config_directory }}/cinder/policy.json" when: cinder_policy.stat.exists + +- name: Copying over nfs_shares files for cinder_volume + template: + src: "{{ item }}" + dest: "{{ node_config_directory }}/cinder-volume/nfs_shares" + with_first_found: + - "{{ node_custom_config }}/nfs_shares.j2" + - "{{ node_custom_config }}/cinder/nfs_shares.j2" + - "{{ node_custom_config }}/cinder/cinder-volume/nfs_shares.j2" + - "{{ node_custom_config }}/cinder/{{ inventory_hostname }}/nfs_shares.j2" + when: enable_cinder_backend_nfs | bool |
