Merge "Catch an error when pool creation failed for ceph"
This commit is contained in:
commit
262a676c41
@ -28,7 +28,6 @@
|
||||
command: docker exec ceph_mon ceph osd pool create {{ pool_name }} {{ pool_pg_num }} {{ pool_pgp_num }} {{ pool_type }} {{ 'erasure-profile' if pool_type == 'erasure' else '' }} disks
|
||||
delegate_to: "{{ groups['ceph-mon'][0] }}"
|
||||
changed_when: False
|
||||
failed_when: False
|
||||
run_once: True
|
||||
|
||||
- name: Creating ceph ruleset for cache
|
||||
@ -43,7 +42,6 @@
|
||||
command: docker exec ceph_mon ceph osd pool create {{ pool_name }}-cache 128 128 replicated cache
|
||||
delegate_to: "{{ groups['ceph-mon'][0] }}"
|
||||
changed_when: False
|
||||
failed_when: False
|
||||
run_once: True
|
||||
when: ceph_enable_cache | bool
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user