mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Mostly var cleanup across ~80 files
This commit is contained in:
parent
a6112381a3
commit
814efd5a02
88 changed files with 679 additions and 260 deletions
|
@ -19,6 +19,13 @@
|
|||
shell: /usr/bin/vnstat -i {{ iiab_lan_iface }}
|
||||
when: iiab_lan_iface is defined
|
||||
|
||||
|
||||
# RECORD vnStat AS INSTALLED
|
||||
|
||||
- name: "Set 'vnstat_installed: True'"
|
||||
set_fact:
|
||||
vnstat_installed: True
|
||||
|
||||
- name: "Add 'vnstat_installed: True' to {{ iiab_state_file }}"
|
||||
lineinfile:
|
||||
dest: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||
|
@ -26,7 +33,7 @@
|
|||
line: 'vnstat_installed: True'
|
||||
|
||||
|
||||
- name: Enable & Start vnStat's systemd service (vnstat)
|
||||
- name: Enable & (Re)Start 'vnstat' systemd service, if vnstat_enabled
|
||||
systemd:
|
||||
name: vnstat
|
||||
daemon_reload: yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue