mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Merge pull request #489 from jvonau/vn
vnstat - guard against iiab_lan_iface not defined in Appliance Mode
This commit is contained in:
commit
88049ddb09
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
- name: Create database for LAN to collect vnStat data if not appliance config
|
||||
shell: /usr/bin/vnstat -i {{ iiab_lan_iface }}
|
||||
when: not iiab_lan_iface == ""
|
||||
when: iiab_lan_iface is defined
|
||||
|
||||
- name: Start vnStat daemon via systemd
|
||||
service: name=vnstat enabled=yes state=started
|
||||
|
|
Loading…
Reference in a new issue