Ansible project to configure a device as an OpenWrt router.
This project has no objective on becoming a template to be used by others. There is hardcoded information in most files. Use as example for your own OpenWrt installations.
The router configured by this repository is a NanoPi R6S. It handles a single 1Gbps symmetrical internet connection, and a 2.5gbps lan connection.
Do I need all this for my network? No.
It's overkill? Yes.
Would I do it again? Yes!
- mise - At the first run execute
mise installto bring all dependencies into scope.
-
Define a
.vault_passat the root of the project with the vault password:echo "your-secure-password" > .vault_pass chmod 600 .vault_pass
-
Run
task applyParameter Description TARGET=router|router_factoryTarget device. Inferred if not set ROLE=<role>Single role to execute. All roles if omitted Extra ansible args can be passed after
--.
| Document | Description |
|---|---|
| Bootstrap | Initial device setup and provisioning |
| Improvements | Planned enhancements |