OpenWRT system
configuration
- configure system settings
Variable | Descritpion | Status | Type | Example |
---|---|---|---|---|
system |
System settings configuration | dictionary |
||
system_hostname |
Device hostname | required |
string |
OpenWrt |
system_description |
Short device description | optional |
string |
OpenWrt device |
system_klogconloglevel |
Maximum log level for kernel messages | optional |
integer |
7 |
system_log_file |
Path to file to write log messages to | optional |
string |
/var/log/messages |
system_log_ip |
IP address of a remote syslog server to which the log messages should be sent | optional |
string |
192.168.1.1 |
system_log_port |
Port number of a remote syslog server | optional |
integer |
514 |
system_log_proto |
Protocol used for the connection with a remote syslog server | optional |
string |
udp |
system_log_remote |
Enable remote logging | optional |
boolean |
1 |
system_log_size |
Size of the file based log buffer in KiB | optional |
integer |
64 |
system_log_type |
Log type (circular or file ) |
optional |
string |
circular |
system_timezone |
POSIX.1 format system timezone | required |
string |
UTC |
system_zonename |
IANA/Olson format system timezone | required |
string |
UTC |
Name | Description |
---|---|
Ansible Role: openwrt |
Ansible role by gekmihesg for managing OpenWRT and derivatives |
- hosts: openwrt
roles:
- role: flyoverhead.openwrt.system
system:
hostname: "mikrotik"
description: "MikroTik hAP ac2"
timezone: UTC"
zonename: "UTC"
GNU General Public License v3.0
fly0v3rH34D