]> 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>
Fri, 2 Jul 2021 20:21:20 +0000 (22:21 +0200)
commitb3cf8212fa91b19252193f9c68e96a50226e6194
tree3746d2ac2ec89aa2421569fbf93a630b786d147f
parent255b3763ef09db379be12e4781c22992cafeeedf
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