srvansible: do not set values if register failed
srvansible: add missing import
srvansible: enable "interfaces" key
srvansible: fixed variable name, added comments