1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

CLARIF: Let's use apt version of /etc/vnstat.conf (not 2011-era template)

This commit is contained in:
A Holt 2023-05-01 11:41:04 -04:00 committed by GitHub
parent 21a7d70c7e
commit 423eecc293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@
iiab_wan_iface: "{{ ansible_default_ipv4.alias }}" iiab_wan_iface: "{{ ansible_default_ipv4.alias }}"
when: ansible_default_ipv4.gateway is defined when: ansible_default_ipv4.gateway is defined
# 2023-05-01: Probably no longer nec, as line 'Interface ""' in /etc/vnstat.conf automatically selects the default interface # 2023-05-01: Probably no longer nec, as line 'Interface ""' in /etc/vnstat.conf (as installed by apt) automatically selects the default interface
- name: Insert 'Interface "{{ iiab_wan_iface }}"' into /etc/vnstat.conf - name: Insert 'Interface "{{ iiab_wan_iface }}"' into /etc/vnstat.conf
lineinfile: lineinfile:
path: /etc/vnstat.conf path: /etc/vnstat.conf