Remake Ansible playbook to target MikroTik router

Basically, I've exported configuration from Mikrotik router using /export and vibe-coded playbook using the file.
This commit is contained in:
2026-03-12 17:34:49 +01:00
parent 09a3251902
commit 5d1ddd6e5d
23 changed files with 1317 additions and 87 deletions

View File

@@ -4,6 +4,7 @@ let
# Python with hvac package
python = pkgs.python313.withPackages (python-pkgs: with python-pkgs; [
hvac
librouteros
]);
in
{
@@ -35,7 +36,6 @@ in
openebs
browse-pvc
]))
ansible
fluxcd
restic
openbao
@@ -59,4 +59,9 @@ in
echo "Running tests"
git --version | grep --color=auto "${pkgs.git.version}"
'';
languages.ansible.enable = true;
# TODO: automatically manage collections from ansible/requirements.yml
# For now, we need to manually install them with `ansible-galaxy collection install -r ansible/requirements.yml`
# This is not implemented in devenv
}