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: wu.chunyang <wu.chunyang@99cloud.net>
This commit is contained in:
caoyuan 2018-03-20 21:10:47 +08:00
parent 1ab1c835c4
commit 522f13646d
1 changed files with 0 additions and 2 deletions

View File

@ -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"