Skip to content

Commit

Permalink
ceph-validate: Expand templates in rgw_create_pools
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit 444b46e)
  • Loading branch information
BenoitKnecht authored and dsavineau committed Jun 3, 2020
1 parent e454b34 commit 8ae4bbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/ceph-validate/tasks/check_rgw_pools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 8ae4bbd

Please sign in to comment.