gather_facts: Stuck when Remote is booted from archiso

I’m trying to create an os_installation_ansible_playbook for automatic installation of various linux distributions.

By doing this, I learned that gather_facts works with an installed archlinux but not with the archiso installation iso.

Python2 is installed and running on the archiso and ansible commands/modules are working.

Are there any other dependencies for the Client to match?

Can you check at which point it gets stuck? the fact gathering process
looks at system devices and /proc for a lot of info, it is possible
that one of those reads is causing this issue on the usb.
In any case there is a timeout that should prevent this from being
permanent but it does not always work when python uses an underlying
library that does a blocking call.