def _get_ipaddress(node):
    if "ipaddress" not in node:
        with settings(hide('stdout'), warn_only=True):
            output = sudo('ohai -l warn ipaddress')
        if output.succeeded:
            try:
                node['ipaddress'] = json.loads(output)[0]
            except ValueError:
                abort("Could not parse ohai's output for ipaddress"
                      ":\n  {0}".format(output))
            return True
    return False
Return the screen size.
dataset/ETHPy150Open tobami/littlechef/littlechef/chef.py/_get_ipaddress--crossover with--dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/web_display.py/Screen.get_cols_rows