Skip to content

Commit

Permalink
ceph-facts: check for mon socket in its own host
Browse files Browse the repository at this point in the history
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 69f7e35)
  • Loading branch information
clwluvw authored and dsavineau committed Sep 29, 2020
1 parent 5538dd8 commit 9b0f454
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/ceph-facts/tasks/facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b0f454

Please sign in to comment.