Merge "Prevent cinder conf from copy nfs_shares to unrelated nodes"
This commit is contained in:
@@ -87,6 +87,8 @@
|
|||||||
template:
|
template:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ node_config_directory }}/cinder-volume/nfs_shares"
|
dest: "{{ node_config_directory }}/cinder-volume/nfs_shares"
|
||||||
|
when:
|
||||||
|
- inventory_hostname in groups[cinder_services["cinder-volume"]["group"]]
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- files:
|
- files:
|
||||||
- "{{ node_custom_config }}/nfs_shares.j2"
|
- "{{ node_custom_config }}/nfs_shares.j2"
|
||||||
|
Reference in New Issue
Block a user