mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
vnStat is basically never used (but patch it for divine reasons)
This commit is contained in:
parent
2457f415fc
commit
8eed8854b5
2 changed files with 20 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
|||
# Similar code block in roles/vnstat/tasks/install.yml
|
||||
- name: Do we have a gateway? If 'ip route' specifies a default route, Ansible parses details here...
|
||||
debug:
|
||||
var: ansible_default_ipv4
|
||||
|
|
@ -14,7 +15,7 @@
|
|||
|
||||
- name: "If gateway responded, set 'gw_active: True' and 'iiab_wan_iface: {{ discovered_wan_iface }}' -- using discovered_wan_iface"
|
||||
set_fact:
|
||||
iiab_wan_iface: "{{ discovered_wan_iface }}"
|
||||
iiab_wan_iface: "{{ discovered_wan_iface }}" # Same as code on Line 70 !
|
||||
gw_active: True
|
||||
when: discovered_wan_iface != "none" and gw_active_test.stdout == "1"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue