mirror of https://github.com/ceph/ceph-ansible.git
8 lines
280 B
YAML
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 }}"
|