diff --git a/bundles/routeros/items.py b/bundles/routeros/items.py new file mode 100644 index 0000000..57bd4bf --- /dev/null +++ b/bundles/routeros/items.py @@ -0,0 +1,3 @@ +routeros['/system/identity'] = { + 'name': node.name, +} diff --git a/groups/os/routeros.py b/groups/os/routeros.py new file mode 100644 index 0000000..1dc5448 --- /dev/null +++ b/groups/os/routeros.py @@ -0,0 +1,14 @@ +# https://ftp-master.debian.org/keys.html + +{ + 'username': 'admin', + 'supergroups': [ + 'all', + ], + 'bundles': [ + 'routeros', + ], + 'metadata': { + }, + 'os': 'routeros', +} diff --git a/nodes/home.rack-switch-10g.py b/nodes/home.rack-switch-10g.py new file mode 100644 index 0000000..a5e7cdb --- /dev/null +++ b/nodes/home.rack-switch-10g.py @@ -0,0 +1,10 @@ +{ + 'hostname': '10.0.0.63', + 'password': '!decrypt:encrypt$gAAAAABoYFUx2faf18aV3rzNNuBA-4xZ22LQJ2HinpgsjkoTQS_l2TbmDtiAZI1jt-kWfTZ48d5_UPX-VDmY9qb4Sgn2Iz7Yee3CrB4hl85TyutilukTIP8=', + 'groups': [ + 'routeros', + ], + 'metadata': { + 'id': '26eca3f1-975e-426f-bd7d-e2a1ef36519e', + }, +} diff --git a/nodes/home.wohnzimmer-switch-10g.py b/nodes/home.wohnzimmer-switch-10g.py new file mode 100644 index 0000000..f008a78 --- /dev/null +++ b/nodes/home.wohnzimmer-switch-10g.py @@ -0,0 +1,10 @@ +{ + 'hostname': '10.0.0.62', + 'password': '!decrypt:encrypt$gAAAAABoYFSyt2JAsdePXiHim1RdQwbarJedhAOE3XpS2rGMBx-F5eCWRCIyLU2g2ocUDUIDfgH3nBipUCkdcd0Bv4vbK-yqKmGSeSH7YXLYwq3ZWuCDsLM=', + 'groups': [ + 'routeros', + ], + 'metadata': { + 'id': 'e6a24df7-eed1-404e-af78-15ebcbcc02a2', + }, +}