mirror of https://github.com/ceph/ceph-ansible.git
310ce9e441
With ansible-core 2.15 it is not possible to pass argument of unexpected
type, as otherwise module will fail with:
`'None' is not a string and conversion is not allowed`
With that we want to only get all existing crush rules, so we can simply
supply an empty string as a name argument, which would satisfy
requirements and have same behaviour for previous ansible versions.
Alternative approach would be to stop making `name` as a required
argument to the module and use empty string as default value
when info state is used.
Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
ca_test_common.py | ||
test_ceph_crush.py | ||
test_ceph_crush_rule.py | ||
test_ceph_dashboard_user.py | ||
test_ceph_ec_profile.py | ||
test_ceph_fs.py | ||
test_ceph_key.py | ||
test_ceph_mgr_module.py | ||
test_ceph_osd.py | ||
test_ceph_osd_flag.py | ||
test_ceph_pool.py | ||
test_ceph_volume.py | ||
test_ceph_volume_simple_activate.py | ||
test_ceph_volume_simple_scan.py | ||
test_cephadm_adopt.py | ||
test_cephadm_bootstrap.py | ||
test_radosgw_caps.py | ||
test_radosgw_realm.py | ||
test_radosgw_user.py | ||
test_radosgw_zone.py | ||
test_radosgw_zonegroup.py |