]> 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 12:02:30 +0000 (14:02 +0200)
commitd704b05e52d10910cd68c49033933bd7e6ded268
tree2b8b7f26c9d033f775cf7289677dc60ebc7d3e2f
parent55bca07cb612b766bc099e14e0a5661185a7f9a6
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>
roles/ceph-facts/tasks/devices.yml [new file with mode: 0644]
roles/ceph-facts/tasks/facts.yml