From 9b0f45431d45b4d69e25ee2c7245d74e18459806 Mon Sep 17 00:00:00 2001 From: Seena Fallah Date: Sun, 27 Sep 2020 20:34:14 +0330 Subject: [PATCH] ceph-facts: check for mon socket in its own host delegate to its own host after checking mon socket to findout if mon socket is in-use or not. Signed-off-by: Seena Fallah (cherry picked from commit 69f7e353823fffd9dff505679f9c9dbeb4fd810d) --- roles/ceph-facts/tasks/facts.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-facts/tasks/facts.yml b/roles/ceph-facts/tasks/facts.yml index b76b6333e..1bb0523d1 100644 --- a/roles/ceph-facts/tasks/facts.yml +++ b/roles/ceph-facts/tasks/facts.yml @@ -71,6 +71,7 @@ check_mode: no register: mon_socket run_once: true + delegate_to: "{{ hostvars[item.item]['inventory_hostname'] }}" with_items: "{{ mon_socket_stat.results }}" when: - not containerized_deployment | bool -- 2.39.5