mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Update vnstat/tasks/main.yml
This commit is contained in:
parent
fdb671e862
commit
0105c77393
1 changed files with 5 additions and 2 deletions
|
@ -25,12 +25,15 @@
|
|||
regexp: '^vnstat_installed'
|
||||
line: 'vnstat_installed: True'
|
||||
|
||||
- name: Enable & Start vnStat's systemd service
|
||||
|
||||
- name: Enable & Start vnStat's systemd service (vnstat)
|
||||
systemd:
|
||||
name: vnstat
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
state: started
|
||||
state: restarted
|
||||
when: vnstat_enabled | bool
|
||||
|
||||
|
||||
- name: Add 'vnstat' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
|
|
Loading…
Reference in a new issue