Merge "Prevent cinder conf from copy nfs_shares to unrelated nodes"

This commit is contained in:
Zuul 2018-01-03 10:47:19 +00:00 committed by Gerrit Code Review
commit c325aadda8

View File

@ -87,6 +87,8 @@
template:
src: "{{ item }}"
dest: "{{ node_config_directory }}/cinder-volume/nfs_shares"
when:
- inventory_hostname in groups[cinder_services["cinder-volume"]["group"]]
with_first_found:
- files:
- "{{ node_custom_config }}/nfs_shares.j2"