openwrt_init – Manage services on OpenWrt¶
Requirements¶
The below requirements are needed on the host that executes this module.
- An OpenWrt system (with python)
Parameters¶
Examples¶
# Example action to start service httpd, if not running
- openwrt_init:
state: started
name: httpd
# Example action to stop service cron, if running
- openwrt_init:
name: cron
state: stopped
# Example action to reload service httpd, in all cases
- openwrt_init:
name: httpd
state: reloaded
# Example action to enable service httpd
- openwrt_init:
name: httpd
enabled: yes
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- Andrew Gaffney (@agaffney)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.