Skip to content
Snippets Groups Projects
Commit 522f1364 authored by caoyuan's avatar caoyuan
Browse files

Remove the duplicate when condition check

the condition check is duplicated with https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/cinder/tasks/config.yml#L122



Change-Id: I9ca176a7aca9348d7e2e37cfe3b7efa315294d1d
Co-Authored-By: default avatarwu.chunyang <wu.chunyang@99cloud.net>
parent 1ab1c835
No related branches found
No related tags found
No related merge requests found
......@@ -106,8 +106,6 @@
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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment