openwrt_init – Manage services on OpenWrt¶
Synopsis¶
Controls OpenWrt services on remote hosts.
Requirements¶
The below requirements are needed on the host that executes this module.
An OpenWrt system (with python)
Parameters¶
Notes¶
Note
One option other than name is required.
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]