This commit is contained in:
2021-11-04 15:06:52 +01:00
parent dde8db9f13
commit 0a20674bf5

View File

@@ -28,12 +28,6 @@ def update_keys(host, user, keys):
except Exception:
print('' + user + '@' + host)
def find_by_name(name, elements):
found = [element for element in elements if element['name'] == name]
if not found:
return False
return found[0]
def main():
config = read_config()
for host in config['hosts']: