### Summary

I would like to configure several Galaxy servers with a fallback precedence defined by the `ANSIBLE_GALAXY_SERVER_LIST` environment variable...

https://docs.ansible.com/ansible/latest/reference_appendices/config.html#galaxy-server-list

and I would like to have 1 of those severs set to not verify SSL.

So say that I `export ANSIBLE_GALAXY_SERVER_LIST=A,B`, then I would like to `export ANSIBLE_GALAXY_SERVER_B_VERIFY_SSL=false`, and leave it true for server A.

### Issue Type

Feature Idea

### Component Name

lib/ansible/cli/galaxy.py

### Additional Information

Followup from AWX issue https://github.com/ansible/tower/issues/5182

Right now we have a global setting to turn off Galaxy SSL verification, however, it is argued that this is impractical from a security standpoint, and if someone wanted to bypass the rules, they would like to do it specific to one specific server they have added a credential for.

### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
temp_dir, tfile, dummy, dummy = tmp_tarfile
    expected = "Collection tar at '%s' does not contain the expected file 'missing'." % to_native(tfile.name)
    with pytest.raises(AnsibleError, match=expected):
        collection._extract_tar_file(tfile, 'missing', temp_dir, temp_dir)
def test_extract_tar_file_missing_parent_dir(tmp_tarfile):
    temp_dir, tfile, filename, checksum = tmp_tarfile
    output_dir = os.path.join(temp_dir, b'output')
    output_file = os.path.join(output_dir, to_bytes(filename))
    collection._extract_tar_file(tfile, filename, output_dir, temp_dir, checksum)
    os.path.isfile(output_file)
def test_extract_tar_file_outside_dir(tmp_path_factory):
    filename = u'ÅÑŚÌβŁÈ'
    temp_dir = to_bytes(tmp_path_factory.mktemp('test-%s Collections' % to_native(filename)))
    tar_file = os.path.join(temp_dir, to_bytes('%s.tar.gz' % filename))
    data = os.urandom(8)
    tar_filename = '../%s.sh' % filename
    with tarfile.open(tar_file, 'w:gz') as tfile:
        b_io = BytesIO(data)
        tar_info = tarfile.TarInfo(tar_filename)
        tar_info.size = len(data)
        tar_info.mode = 0o0644
        tfile.addfile(tarinfo=tar_info, fileobj=b_io)
    expected = re.escape("Cannot extract tar entry '%s' as it will be placed outside the collection directory"
                         % to_native(tar_filename))
    with tarfile.open(tar_file, 'r') as tfile:
        with pytest.raises(AnsibleError, match=expected):
            collection._extract_tar_file(tfile, tar_filename, os.path.join(temp_dir, to_bytes(filename)), temp_dir)
def test_require_one_of_collections_requirements_with_both():