mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
vnstat lan_iface hack
This commit is contained in:
parent
0173826582
commit
7c825cb38a
1 changed files with 12 additions and 0 deletions
|
@ -14,6 +14,18 @@
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
|
|
||||||
|
- name: Checking if lan_iface is set 1
|
||||||
|
include_vars: roles/network/defaults/main.yml
|
||||||
|
when: not iiab_lan_iface is defined
|
||||||
|
|
||||||
|
- name: Checking if lan_iface is set 2
|
||||||
|
include_tasks: roles/network/tasks/detected_network.yml
|
||||||
|
when: not iiab_lan_iface is defined
|
||||||
|
|
||||||
|
#- name: Checking if lan_iface is set 3
|
||||||
|
# include_tasks: roles/network/tasks/computed_network.yml
|
||||||
|
# when: not iiab_lan_iface is defined
|
||||||
|
|
||||||
- name: Create database for WAN to collect vnStat data
|
- name: Create database for WAN to collect vnStat data
|
||||||
shell: /usr/bin/vnstat -i {{ iiab_wan_iface }}
|
shell: /usr/bin/vnstat -i {{ iiab_wan_iface }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue