##### SUMMARY

Move the remaining files needed by `ansible-test` into the `test/lib/ansible_test/` directory. This is required to implement: https://github.com/ansible/ansible/issues/59884

##### ISSUE TYPE

Feature Idea

##### COMPONENT NAME

ansible-test

if isinstance(args, UnitsConfig) and not args.python:
                cmd += ['--python', 'default']
        if isinstance(args, IntegrationConfig):
            cloud_platforms = get_cloud_providers(args)
            for cloud_platform in cloud_platforms:
                ssh_options += cloud_platform.get_remote_ssh_options()
        try:
            manage.ssh(cmd, ssh_options)
            success = True
        finally:
            download = False
            if platform != 'windows':
                download = True
            if isinstance(args, ShellConfig):
                if args.raw:
                    download = False
            if download and content_root:
                manage.ssh('rm -rf /tmp/results && cp -a %s/test/results /tmp/results && chmod -R a+r /tmp/results' % content_root)
                manage.download('/tmp/results', 'test')
    finally:
        if args.remote_terminate == 'always' or (args.remote_terminate == 'success' and success):
            core_ci.stop()
        if httptester_id:
            docker_rm(args, httptester_id)
def generate_command(args, python_interpreter, install_root, content_root, options, exclude, require):
    """
    :type args: EnvironmentConfig
    :type python_interpreter: str | None
    :type install_root: str
    :type content_root: str