Merge "Prevent cinder conf from copy nfs_shares to unrelated nodes"
This commit is contained in:
commit
c325aadda8
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user