def METHOD_NAME(command: Command):
    if command.command == "ansible --version":
        command.return_code = 0
        command.stdout = f"ansible [core 2.12.3]\nconfig file = {(tmp_path / 'ansible.cfg')!s}"
    else:
        original_run_command(command)