Commit Graph

11 Commits

Author SHA1 Message Date
Lumpiasty dd559ade43 feat(ansible): Enable WLAN LED on dlink 2026-05-16 21:20:20 +02:00
Lumpiasty 7db9b7e9e9 enable modem in dlink
ci/woodpecker/push/flux-reconcile-source Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful
2026-05-14 01:34:36 +02:00
Lumpiasty 90fc72f18c docs(ansible): add missing instruction 2026-05-14 01:16:44 +02:00
Lumpiasty 9c8f075fb1 feat(ansible): add internet access for dlink 2026-05-14 01:15:54 +02:00
Lumpiasty 28e220d1b7 refactor(ansible): deduplicate dlink-init playbook
ci/woodpecker/push/flux-reconcile-source Pipeline was successful
2026-05-13 22:40:40 +02:00
Lumpiasty 38f0aa699f feat(ansible): add IoT VLAN 5 (192.168.5.0/24, szafa wifi)
MikroTik: add vlan5 interface, bridge VLAN entry (ether3 tagged),
IP 192.168.5.1/24, IPv6 from-pool, DHCP pool/server/network,
firewall rules allowing IoT internet-only (IPv4 and IPv6),
DNS input from vlan5.

OpenWrt: add switch VLAN 5 (WAN+CPU tagged), br-iot bridge on
eth0.5, iot interface, iot firewall zone (forward ACCEPT,
input REJECT).

Also remove ensure_order from all non-firewall api_modify tasks
as RouterOS does not support move on those paths.
2026-05-13 22:28:04 +02:00
Lumpiasty 120547b1b8 feat(ansible): add OpenWrt dlink AP configuration
Add community.openwrt collection, dlink host to inventory,
openwrt role with system/network/firewall tasks, and two
playbooks: dlink-init.yml for one-time bootstrap from factory
IP, and openwrt.yml for ongoing idempotent configuration.

Network: MGMT untagged + LAN (vlan2) tagged on WAN port trunk
to MikroTik ether3. Firewall zones replace factory WAN/LAN
with mgmt (input ACCEPT) and lan (forward ACCEPT, AP mode).
2026-05-13 21:08:55 +02:00
Lumpiasty 17db139125 refactor(ansible): move RouterOS config into a role
Move flat tasks/ and vars/routeros-secrets.yml into
roles/routeros/ with a main.yml that imports the domain
task files in order. Update playbooks/routeros.yml to
use the role instead of importing tasks directly.
2026-05-13 20:57:13 +02:00
Lumpiasty 5d1ddd6e5d Remake Ansible playbook to target MikroTik router
Basically, I've exported configuration from Mikrotik router using /export and vibe-coded playbook using the file.
2026-03-13 04:00:10 +01:00
Lumpiasty af7b3a3c9b disable exporting default gateway via bgp 2025-03-25 22:57:50 +01:00
Lumpiasty b7a47745ea Init basic cluster 2025-02-02 23:21:45 +01:00