120547b1b8
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).
13 lines
239 B
YAML
13 lines
239 B
YAML
all:
|
|
children:
|
|
mikrotik:
|
|
hosts:
|
|
crs418:
|
|
ansible_host: 192.168.255.10
|
|
openwrt:
|
|
hosts:
|
|
dlink:
|
|
ansible_host: 192.168.255.11
|
|
ansible_user: root
|
|
ansible_ssh_port: 22
|