### Summary

The `ansible-galaxy` command has a [`--timeout` parameter](https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html#cmdoption-ansible-galaxy-collection-install-timeout) for most of its sub-commands but it seems to be only configurable on the command line.

I'd like to be able to configure it via environment variable, probably `ANSIBLE_GALAXY_TIMEOUT` or something similar.

### Issue Type

Feature Idea

### Component Name

galaxy

### Additional Information

The reason this is so useful is that it would work implicitly, for example when `ansible-galaxy` is being called by other commands like `molecule` or `ansible-lint`, or anything else that calls it on your behalf.

Sometimes you can customize aspects of the call by configuring those applications, but that's not always the easiest thing to do.

For example in molecule, we could set it in the [`dependency` step's `options`](https://molecule.readthedocs.io/en/latest/configuration.html#molecule.dependency.ansible_galaxy.AnsibleGalaxy), but that's not always ideal.

I have a shared CI pipeline that runs molecule across many ansible and python versions in parallel, and multiple instances of that pipeline may run in parallel for testing a single collection, resulting in dozens of simultaneous connections to my internal galaxy server which will eventually work but end up timing out.

I'd prefer to tune the timeout once in the definition of the shared pipeline, but I cannot because that pipeline calls `molecule`, using each collection's own molecule configuration, so I would have to modify every collection to set the timeout in this case.

If I had an environment variable, I could set that in the shared pipeline and not need to modify the collections (this is already how I set the server URL for example).

### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
from ansible.cli.arguments import option_helpers as opt_help
from ansible.errors import AnsibleError, AnsibleOptionsError
from ansible.galaxy import Galaxy, get_collections_galaxy_meta_info
from ansible.galaxy.api import GalaxyAPI, GalaxyError
from ansible.galaxy.collection import (
    build_collection,
    download_collections,
    find_existing_collections,
    install_collections,
    publish_collection,
    validate_collection_name,
    validate_collection_path,
    verify_collections,
    SIGNATURE_COUNT_RE,
)
from ansible.galaxy.collection.concrete_artifact_manager import (
    ConcreteArtifactsManager,
)
from ansible.galaxy.collection.gpg import GPG_ERROR_MAP
from ansible.galaxy.dependency_resolution.dataclasses import Requirement
from ansible.galaxy.role import GalaxyRole
from ansible.galaxy.token import BasicAuthToken, GalaxyToken, KeycloakToken, NoTokenSentinel
from ansible.module_utils.ansible_release import __version__ as ansible_version
from ansible.module_utils.common.collections import is_iterable
from ansible.module_utils.common.yaml import yaml_dump, yaml_load
from ansible.module_utils.common.text.converters import to_bytes, to_native, to_text
from ansible.module_utils import six
from ansible.parsing.dataloader import DataLoader
from ansible.parsing.yaml.loader import AnsibleLoader
from ansible.playbook.role.requirement import RoleRequirement