From: Guillaume Abrioux Date: Fri, 3 Apr 2020 13:07:54 +0000 (+0200) Subject: update: use tasks_from when including ceph-facts X-Git-Tag: v5.0.0~60 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=529d99a691688aab09f31f9edebaecbb5d39b45d;p=ceph-ansible.git update: use tasks_from when including ceph-facts When setting/unsetting osd flags, we can use `tasks_from` when importing `ceph-facts` role to save some times given that we only need this role for setting `container_binary` Signed-off-by: Guillaume Abrioux (cherry picked from commit 6df7887f87e990d61f0de132113d7589117de9c5) --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 3966ab403..e7a4980d4 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -356,6 +356,7 @@ name: ceph-defaults - import_role: name: ceph-facts + tasks_from: container_binary.yml - name: set osd flags command: "{{ container_exec_cmd | default('') }} ceph --cluster {{ cluster }} osd set {{ item }}" @@ -488,6 +489,7 @@ name: ceph-defaults - import_role: name: ceph-facts + tasks_from: container_binary.yml - name: set_fact container_exec_cmd_osd set_fact: