ceph-ansible/roles/ceph-facts/tasks
Benoît Knecht 2ea3db269e ceph-facts: Fix osd_pool_default_crush_rule fact
The `osd_pool_default_crush_rule` is set based on `crush_rule_variable`, which
is the output of a `grep` command.

However, two consecutive tasks can set that variable, and if the second task is
skipped, it still overwrites the `crush_rule_variable`, leading the
`osd_pool_default_crush_rule` to be set to `ceph_osd_pool_default_crush_rule`
instead of the output of the first task.

This commit ensures that the fact is set right after the `crush_rule_variable`
is assigned, before it can be overwritten.

Closes #5912

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(cherry picked from commit c5f7343a2f)
2020-11-13 10:42:13 -05:00
..
container_binary.yml facts: isolate container_binary facts 2019-12-03 09:57:11 -05:00
facts.yml ceph-facts: Fix osd_pool_default_crush_rule fact 2020-11-13 10:42:13 -05:00
get_def_crush_rule_name.yml osd: use default crush rule name when needed 2020-03-31 19:42:40 -04:00
grafana.yml dashboard: allow configuring multiple grafana host 2020-02-12 19:56:31 -05:00
main.yml introduce new role ceph-facts 2018-12-12 11:18:01 +01:00
set_monitor_address.yml defaults: change monitor|radosgw_address default values 2020-01-13 14:55:23 -05:00
set_radosgw_address.yml facts: fix 'set_fact rgw_instances with rgw multisite' 2020-09-18 10:35:28 -04:00