mirror of https://github.com/ceph/ceph-ansible.git
ceph-validate: Expand templates in rgw_create_pools
Same fix as `ceph-rgw` for `rgw_create_pools` pool names that contain Jinja templates. See #5348 for details. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>pull/5352/head
parent
d2b7670c7d
commit
444b46ea24
|
@ -2,7 +2,7 @@
|
|||
- name: fail if ec_profile is not set for ec pools
|
||||
fail:
|
||||
msg: "ec_profile must be set for ec pools"
|
||||
with_dict: "{{ rgw_create_pools }}"
|
||||
loop: "{{ rgw_create_pools | dict2items }}"
|
||||
when:
|
||||
- item.value.type is defined
|
||||
- item.value.type == 'ec'
|
||||
|
@ -11,7 +11,7 @@
|
|||
- name: fail if ec_k is not set for ec pools
|
||||
fail:
|
||||
msg: "ec_k must be set for ec pools"
|
||||
with_dict: "{{ rgw_create_pools }}"
|
||||
loop: "{{ rgw_create_pools | dict2items }}"
|
||||
when:
|
||||
- item.value.type is defined
|
||||
- item.value.type == 'ec'
|
||||
|
@ -20,7 +20,7 @@
|
|||
- name: fail if ec_m is not set for ec pools
|
||||
fail:
|
||||
msg: "ec_m must be set for ec pools"
|
||||
with_dict: "{{ rgw_create_pools }}"
|
||||
loop: "{{ rgw_create_pools | dict2items }}"
|
||||
when:
|
||||
- item.value.type is defined
|
||||
- item.value.type == 'ec'
|
||||
|
|
Loading…
Reference in New Issue