]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
move crush rule creation from mon to osd role
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 31 Oct 2019 20:17:33 +0000 (16:17 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 10 Jan 2020 16:07:25 +0000 (11:07 -0500)
commit661b2c013adb655f63e14d0d5b52a6a4e595dd7e
tree0518ef6f2f5f9f3a5beb31fb92eb19e8de3b3a46
parentf00ee1244f09876f1016b20eebb0c2d3f6c5ed87
move crush rule creation from mon to osd role

If we want to create crush rules with the create-replicated sub command
and device class then we need to have the OSD created before the crush
rules otherwise the device classes won't exist.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit ed36a11eabbdbb040652991300cdfc93d51ed491)
roles/ceph-mon/tasks/crush_rules.yml [deleted file]
roles/ceph-mon/tasks/main.yml
roles/ceph-osd/tasks/crush_rules.yml [new file with mode: 0644]
roles/ceph-osd/tasks/main.yml