diff --git a/roles/ceph-mon/tasks/openstack_config.yml b/roles/ceph-mon/tasks/openstack_config.yml index 02b21272e..90894dc4c 100644 --- a/roles/ceph-mon/tasks/openstack_config.yml +++ b/roles/ceph-mon/tasks/openstack_config.yml @@ -1,7 +1,7 @@ --- - name: create openstack pool command: ceph --cluster {{ cluster }} osd pool create {{ item.name }} {{ item.pg_num }} - with_items: "{{ openstack_pools }}" + with_items: "{{ openstack_pools | unique }}" changed_when: false failed_when: false