##### 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

"""Payload management for sending Ansible files and test content to other systems (VMs, containers)."""
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import tarfile
import time
from .config import (
    IntegrationConfig,
    ShellConfig,
)
from .util import (
    display,
    ANSIBLE_ROOT,
)
from .data import (
    data_context,
)
from .util_common import (
    CommonConfig,
)
tarfile.pwd = None
tarfile.grp = None
def create_payload(args, dst_path):  
    """Create a payload for delegation."""
    if args.explain:
        return
    files = [(os.path.join(ANSIBLE_ROOT, path), path) for path in data_context().install.all_files()]