]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-facts: move device facts to its own file
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 16 Dec 2020 19:18:08 +0000 (14:18 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 5 Jul 2021 16:03:43 +0000 (18:03 +0200)
commit9f1ec38bbf9fbc341f53c080f6cec7a268cc13b1
treea58527f723d19ff83348e209bb90310db7eb1650
parentd7cefe0536f4ac3c1dd9010904afa5f3ebb852d4
ceph-facts: move device facts to its own file

Instead of reusing the condition 'inventory_hostname in groups[osds]'
on each device facts tasks then we can move all the tasks into a
dedicated file and set the condition on the import_tasks statement.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit d704b05e52d10910cd68c49033933bd7e6ded268)
roles/ceph-facts/tasks/devices.yml [new file with mode: 0644]
roles/ceph-facts/tasks/facts.yml