]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
docker2podman: call `container_options_facts.yml` on osd nodes
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 1 Apr 2020 12:20:05 +0000 (14:20 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 2 Apr 2020 15:01:14 +0000 (11:01 -0400)
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)

infrastructure-playbooks/docker-to-podman.yml

index b39ec57496f79a92e0c5f2aba01c0ef40e0b4ed8..341ee8679d626003218ff276ab75133be17dbf4c 100644 (file)
         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