]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
shrink-osd: don't run ceph-facts entirely
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 19 Feb 2020 12:51:49 +0000 (13:51 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 26 Feb 2020 17:16:48 +0000 (18:16 +0100)
We need to call ceph-facts only for setting `container_binary`.
Since this task has been isolated we can use `tasks_from` to only execute the
needed task.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 55970b18f1506ee581ef6f2f8438a023f0f01807)

infrastructure-playbooks/shrink-osd.yml

index 4664227364b6d6194186a72928af67309eeff3a6..837f3fba638aab9ff81b6856e3860b6401f93185 100644 (file)
@@ -60,6 +60,7 @@
 
     - import_role:
         name: ceph-facts
+        tasks_from: container_binary.yml
 
   post_tasks:
     - name: set_fact container_exec_cmd build docker exec command (containerized)