diff --git a/tasks/cinder_post_install.yml b/tasks/cinder_post_install.yml index ce067959..7eb8fa21 100644 --- a/tasks/cinder_post_install.yml +++ b/tasks/cinder_post_install.yml @@ -67,7 +67,7 @@ template: src: nfs_shares.j2 dest: "{{ item.value.nfs_shares_config }}" - with_dict: "{{ cinder_backends }}" + with_dict: "{{ cinder_backends | default({}) }}" when: - item.value.nfs_shares_config is defined - inventory_hostname in groups['cinder_volume']