mirror of https://github.com/ceph/ceph-ansible.git
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
parent
f9a6f775e9
commit
0dd5036f6c
|
@ -88,6 +88,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
|
||||||
|
|
Loading…
Reference in New Issue