Ansible 2.4 gathering facts stuck

Hi,

Ansible2.4 is setup on CentOS7.4.
The playbook execution gets stuck(for more than 5 mins) at gathering facts at times and few of the times it runs smoothly.
What could be the reason for it?

Regards,
Mona G

Does it get stuck at the same host(s) every time?
If so, I would log in to such a host and check what is going on at the
time of fact gathering.
Could be busy, or I/O issues, etc.

Dick