def minimal_playbook(testdir):
    """
    Create minimal ansible playbook file without any side effects.
    """
    playbook = testdir.makefile(
        ".yml",
        "---",
        "- hosts: all",
        "  connection: local",
        "  tasks:",
        "   - action: ping",
        )
    return playbook