docker2podman: call `container_options_facts.yml` on osd nodes

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>
pull/5242/head
Guillaume Abrioux 2020-04-01 14:20:05 +02:00
parent 553584cbd0
commit 4a4f54f6ee
1 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,11 @@
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