ceph-ansible/roles/ceph-rgw/tasks/rgw_pool_pgs.yml

8 lines
280 B
YAML

---
- name: create rgw pools if create_pools is defined
command: ceph --connect-timeout 5 --cluster {{ cluster }} osd pool create {{ item.key }} {{ item.value.pg_num }}
changed_when: false
failed_when: false
when: create_pools is defined
with_dict: "{{ create_pools }}"