Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 716 Bytes

File metadata and controls

30 lines (24 loc) · 716 Bytes

imp1sh.ansible_managemynetwork.ansible_openwrtservices

With this Ansible role you can enable or disable services on your OpenWrt node.

Example activate:

openwrt_services_enabledhost:
  - babeld

deactivate:

openwrt_services_disabledhost:
  - bmx7

If you would like to prefer to define this on a group level use the group name as dict key like this:

openwrt_services_enabledgroup:
  mygroupname:
    - babeld

You can also set openwrt_services_enabledrole (ofc also disable) if you call the role from somewhere else.

There is also the possibility to run single line commands at boot:

openwrt_services_scriptlinesafterboot:
  - "/usr/bin/mycommand myparameters"