From 522f13646d7278146f9d24aab4a5ce735a0ecf58 Mon Sep 17 00:00:00 2001 From: caoyuan Date: Tue, 20 Mar 2018 21:10:47 +0800 Subject: [PATCH] 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 --- ansible/roles/cinder/tasks/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/ansible/roles/cinder/tasks/config.yml b/ansible/roles/cinder/tasks/config.yml index b00c99f19a..c09debe58d 100644 --- a/ansible/roles/cinder/tasks/config.yml +++ b/ansible/roles/cinder/tasks/config.yml @@ -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"