ceph-ansible/roles/ceph-config
Guillaume Abrioux dc2a11ce3f 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:52 +01:00
..
meta allow using ansible 2.8 2019-04-17 18:14:58 +02:00
tasks config: reset num_osds 2021-03-17 17:35:52 +01:00
templates rgw: multisite refact 2021-01-28 16:37:50 -05:00
LICENSE ceph-config: add missing meta and files for the galaxy 2017-08-24 11:33:03 +02:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-config

Documentation is available at http://docs.ceph.com/ceph-ansible/.