ceph-ansible/roles/ceph-config/tasks
Guillaume Abrioux d65c7b4035 config: reset num_osds
When collocating OSDs with other daemon, `num_osds` is incorrectly calculated
because `ceph-config` is called multiple times.

Indeed, the following code:
```
num_osds: "{{ lvm_list.stdout | default('{}') | from_json | length | int + num_osds | default(0) | int }}"
```

makes `num_osds` be incremented each time `ceph-config` is called.

We have to reset it in order to get the correct number of expected OSDs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 31a0f2653d)
2021-03-17 17:35:19 +01:00
..
create_ceph_initial_dirs.yml tests: Update ansible ssh_args variable 2019-06-17 09:24:24 +02:00
main.yml config: reset num_osds 2021-03-17 17:35:19 +01:00
rgw_systemd_environment_file.yml add missing boolean filter 2020-09-28 20:45:01 +02:00