]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 2 Apr 2020 05:56:15 +0000 (07:56 +0200)
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>
infrastructure-playbooks/docker-to-podman.yml

index fdcb11a8fdbf8a1a3a72bbb3f983a04d8141c928..d18b07da39c375587d741683e335d89ef765c440 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