##### 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 content_root != install_root:
                    writable_dirs.append(os.path.join(content_root, 'test/results/junit'))
                    writable_dirs.append(os.path.join(content_root, 'test/results/coverage'))
                docker_exec(args, test_id, ['mkdir', '-p'] + writable_dirs)
                docker_exec(args, test_id, ['chmod', '777'] + writable_dirs)
                if content_root == install_root:
                    docker_exec(args, test_id, ['find', os.path.join(content_root, 'test/results/'), '-type', 'd', '-exec', 'chmod', '777', '{}', '+'])
                docker_exec(args, test_id, ['chmod', '755', '/root'])
                docker_exec(args, test_id, ['chmod', '644', os.path.join(content_root, args.metadata_path)])
                docker_exec(args, test_id, ['useradd', 'pytest', '--create-home'])
                docker_exec(args, test_id, cmd + ['--requirements-mode', 'only'], options=cmd_options)
                networks = get_docker_networks(args, test_id)
                for network in networks:
                    docker_network_disconnect(args, test_id, network)
                cmd += ['--requirements-mode', 'skip']
                cmd_options += ['--user', 'pytest']
            try:
                docker_exec(args, test_id, cmd, options=cmd_options)
            finally:
                with tempfile.NamedTemporaryFile(prefix='ansible-result-', suffix='.tgz') as local_result_fd:
                    docker_exec(args, test_id, ['tar', 'czf', '/root/results.tgz', '-C', os.path.join(content_root, 'test'), 'results'])
                    docker_get(args, test_id, '/root/results.tgz', local_result_fd.name)
                    run_command(args, ['tar', 'oxzf', local_result_fd.name, '-C', 'test'])
        finally:
            if httptester_id:
                docker_rm(args, httptester_id)
            if test_id:
                docker_rm(args, test_id)
def delegate_remote(args, exclude, require, integration_targets):