1
0
Fork 0
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:
Jerry Vonau 2017-10-31 12:13:17 -04:00
parent 0173826582
commit 7c825cb38a

View file

@ -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 }}