ceph-ansible/roles
Guillaume Abrioux 31a0f2653d 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>
2021-03-15 10:41:28 +01:00
..
ceph-client Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-common Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-config config: reset num_osds 2021-03-15 10:41:28 +01:00
ceph-container-common Add quincy release 2021-02-12 10:02:08 +01:00
ceph-container-engine Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-crash Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-dashboard Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-defaults Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-facts Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-14 17:36:17 +01:00
ceph-grafana Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-handler Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-infra Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-iscsi-gw Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-mds Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-mgr Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-mon ceph-mon: Fix check mode for deploy monitor tasks 2021-03-12 18:19:46 +01:00
ceph-nfs Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-osd ceph-osd: add prepare_osd tag to lvm-batch scenario 2021-03-11 22:02:52 +01:00
ceph-prometheus Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-rbd-mirror Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-rgw library: add realm pull to radosgw_realm module 2021-03-12 18:21:37 +01:00
ceph-rgw-loadbalancer Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-validate Use ansible_facts 2021-03-08 20:54:02 +01:00