It should have been backported from
29a9dff but for better clarity I
think it's better to create a new commit for this.
c68126d6 aims to not make `pgs` attribute mandatory for each element of
`cephfs_pools`. Therefore, we must remove the check in
`roles/ceph-mon/tasks/check_mandatory_vars.yml`.
This task has been removed by
29a9dff but I've chosen to not backport
this commit since it's part of a bunch of commits belonging to a PR
implementing `ceph-validate` role.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
when:
- monitor_interface == 'interface'
- monitor_address == '0.0.0.0'
- - monitor_address_block == 'subnet'
-
-- name: make sure pg num is set for cephfs pools
- fail:
- msg: "You must set pg num for your cephfs pools, see the cephfs_pools variable."
- with_items: "{{ cephfs_pools }}"
- when:
- - groups.get(mds_group_name, []) | length > 0
- - item.pgs == ''
+ - monitor_address_block == 'subnet'
\ No newline at end of file