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>
pull/5858/head
Seena Fallah 2020-09-27 20:34:14 +03:30 committed by Guillaume Abrioux
parent 50104650e7
commit 69f7e35382
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@
check_mode: no check_mode: no
register: mon_socket register: mon_socket
run_once: true run_once: true
delegate_to: "{{ hostvars[item.item]['inventory_hostname'] }}"
with_items: "{{ mon_socket_stat.results }}" with_items: "{{ mon_socket_stat.results }}"
when: when:
- not containerized_deployment | bool - not containerized_deployment | bool