ceph-ansible/roles/ceph-osd/tasks
Dimitri Savineau 5f7778d59a ceph-{mon,osd}: move default crush variables
Since ed36a11 we move the crush rules creation code from the ceph-mon to
the ceph-osd role.
To keep the backward compatibility we kept the possibility to set the
crush variables on the mons side but we didn't move the default values.
As a result, when using crush_rule_config set to true and wanted to use
the default values for crush_rules then the crush rule ansible task
creation will fail.

"msg": "'ansible.vars.hostvars.HostVarsVars object' has no attribute
'crush_rules'"

This patch move the default crush variables from ceph-mon to ceph-osd
role but also use those default values when nothing is defined on the
mons side.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1798864

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 1fc6b33714)
2020-02-17 10:18:56 -05:00
..
scenarios osd: use _devices fact in lvm batch scenario 2020-01-14 15:33:15 +01:00
common.yml fix calls to `container_exec_cmd` in ceph-osd role 2020-01-27 17:54:39 -05:00
container_options_facts.yml ceph-osd: set container objectstore env variables 2020-01-20 15:36:11 -05:00
crush_rules.yml ceph-{mon,osd}: move default crush variables 2020-02-17 10:18:56 -05:00
main.yml ceph-{mon,osd}: move default crush variables 2020-02-17 10:18:56 -05:00
openstack_config.yml fix calls to `container_exec_cmd` in ceph-osd role 2020-01-27 17:54:39 -05:00
start_osds.yml osd: ensure osd ids collected are well restarted 2020-01-13 14:31:03 -05:00
system_tuning.yml ceph-osd: fix fs.aio-max-nr sysctl condition 2019-11-07 20:31:02 +01:00
systemd.yml container: isolate systemd tasks 2019-10-01 18:50:51 +02:00