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 <seenafallah@gmail.com>
(cherry picked from commit 69f7e35382)
pull/5885/head
Seena Fallah 2020-09-27 20:34:14 +03:30 committed by Guillaume Abrioux
parent f9a6f775e9
commit 0dd5036f6c
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,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