diff --git a/ansible/roles/cinder/tasks/config.yml b/ansible/roles/cinder/tasks/config.yml index c7b69411e8..851d7815eb 100644 --- a/ansible/roles/cinder/tasks/config.yml +++ b/ansible/roles/cinder/tasks/config.yml @@ -110,6 +110,7 @@ dest: "{{ node_config_directory }}/{{ item.key }}/{{ cinder_policy_file }}" register: cinder_policy_overwriting when: + - item.value.enabled | bool - cinder_policy_file is defined - inventory_hostname in groups[item.value.group] with_dict: "{{ cinder_services }}"