Esempio n. 1
0
def vmhost(ansible_adhoc, request, tbinfo):
    server = tbinfo["server"]
    inv_files = request.config.option.ansible_inventory
    vmhost = get_test_server_host(inv_files, server)
    return VMHost(ansible_adhoc, vmhost.name)
Esempio n. 2
0
def vmhost(ansible_adhoc, request, tbinfo):
    server = tbinfo["server"]
    inv_files = get_inventory_files(request)
    vmhost = get_test_server_host(inv_files, server)
    return VMHost(ansible_adhoc, vmhost.name)