]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 14 Nov 2019 15:25:46 +0000 (16:25 +0100)
commited36a11eabbdbb040652991300cdfc93d51ed491
tree49caa8a55f4314f97da0e1744f5e5bbe34e618b6
parent3e29b8d5ffcfe4d0c74f44d6d974bc770e21e828
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>
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