Ansible Openwrt

configure your openwrt system(s) using ansible!
Alternatives To Ansible Openwrt
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Ansible Openwisp2447
11 days ago17bsd-3-clausePython
Ansible role that installs and upgrades OpenWISP.
Ansible Openwrt241
5 months ago15gpl-3.0Shell
Manage OpenWRT and derivatives with Ansible but without Python
Cheat Sheets164
2 months agolgpl-2.1HTML
code snippets and notes that I have created over the years and which I make available to the public ;-)
Ansible Openwisp2 Imagegenerator123
a year ago3bsd-3-clauseShell
Automatically build several openwisp2 firmware images for different organizations while keeping track of their differences
Ansible Openwrt62
7 years ago4mitRuby
configure your openwrt system(s) using ansible!
Ansible Openwrt46
a month agogpl-3.0
Ansible collection to configure your OpenWrt devices more quickly and automatically (without Python)
Scale Network27
a month ago81bsd-3-clausePerl
SCaLE's on-site expo network configurations, wifi, tooling, and scripts
Ansible Openwrt Hirkn23
a month agoShell
Automation settings OpenWRT router to bypass RKN
Philote13
3 years ago2agpl-3.0Lua
Ansible management for your OpenWRT router - with lua
Ansible Nnxx12
3 years ago3bsd-3-clauseShell
Ansible configurations for the nnxx infrastructure
Alternatives To Ansible Openwrt
Select To Compare


Alternative Project Comparisons
Readme

ansible-openwrt

Configure your openwrt system (and variants, cerowrt in my case) using ansible.

Works with the official raw module und some custom modules to avoid having to run python on the target - no extra dependencies for your embedded target system.

Currently under development. I have a way to set uci values if needed and run commit at the end if anything changed. I am trying to at least build a superset of the config-cerowrt.sh shell script plus whatever i will need myself.

Be careful with blindly running it, if you connect to your openwrt via wifi and you change network settings you may lock yourself out.

See host_vars/example-gw.home.lan for how to override the role defaults in your local clone.

Installation (ansible-galaxy and librarian)

In an attempt to make this more reusable, I am trying to move all the roles to ansible galaxy and use librarian-ansible to manage dependencies. librarian-ansible uses the Ansiblefile to declare the external playbooks that ansible-openwrt requires.

To automatically retrieve dependencies:

cd ansible-openwrt
gem install librarian-ansible
librarian-ansible install

Contributors

Jan Wagner (waha on github pointed out that the uci module needs to return json and contributed related fixes allowing it to work with recent versions of ansible.

TODO

  • port official opkg module to shellscript or raw
  • how to manage /etc/dropbear_authorized_keys? port file to sh?
Popular Ansible Projects
Popular Openwrt Projects
Popular Configuration Management Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Ruby
Ansible
Shell Script
Openwrt