We must call `ceph-osd` role from `container_options_facts.yml` because
ceph-osd-run.sh.j2 needs variables set in this file.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1819681
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
4a4f54f6eeaac99f04faad82259129a906f4ccb9)
tasks_from: systemd.yml
when: inventory_hostname in groups.get(nfs_group_name, [])
+ - import_role:
+ name: ceph-osd
+ tasks_from: container_options_facts.yml
+ when: inventory_hostname in groups.get(osd_group_name, [])
+
- import_role:
name: ceph-osd
tasks_from: systemd.yml