It appears that your environment cannot reach the Ansible Galaxy servers, and for this reason, the installation and sync of the project are not being performed.
If you are unable to reach the Galaxy servers for the installation process, you can try using the tarball archive:
-
Manually download the version you are interested in from Ansible Galaxy.
-
Upload the tarball into the
collectionsdirectory. -
Change the
requirements.ymlfile to this:collections: - name: community-general-10.4.0.tar.gz type: file
Perhaps this could work.